Update for 1.4
jdarwood007

jdarwood007 commited on 2023-03-15 17:47:26
Showing 1 changed files, with 5 additions and 3 deletions.

... ...
@@ -3,7 +3,7 @@
3 3
 <package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
4 4
 	<id>SleePy:StopForumSpam</id>
5 5
 	<name>Stop Forum Spam</name>
6
-	<version>1.3</version>
6
+	<version>1.4</version>
7 7
 	<type>modification</type>
8 8
 
9 9
 	<!-- 2.0 has no support for hooks -->
... ...
@@ -125,7 +125,7 @@
125 125
 		<remove-file name="$themedir/images/admin/sfs.webp" />
126 126
 	</uninstall>
127 127
 
128
-	<upgrade from="1.*" for="2.1.*">
128
+	<upgrade from="1.0-1.3" for="2.1.*">
129 129
 		<require-file name="language/StopForumSpam.english.php" destination="$themes_dir/default/languages" />
130 130
         <require-file name="language/StopForumSpam.finnish.php" destination="$themes_dir/default/languages" />
131 131
 		<require-file name="StopForumSpam.template.php" destination="$themedir" />
... ...
@@ -141,12 +141,14 @@
141 141
 		<require-file name="sfs.webp" destination="$themedir/images/admin" />
142 142
 	</upgrade>
143 143
 
144
-	<upgrade from="1.*" for="2.0.*">
144
+	<upgrade from="1.0-1.3" for="2.0.*">
145 145
 		<code type="file">sfs_hooks_install.php</code>
146 146
 		<require-file name="language/StopForumSpam.english.php" destination="$themes_dir/default/languages" />
147
+        <require-file name="language/StopForumSpam.finnish.php" destination="$themes_dir/default/languages" />
147 148
 		<require-file name="StopForumSpam.template.php" destination="$themedir" />
148 149
 		<require-file name="SFS.php" destination="$sourcedir" />
149 150
 		<require-file name="SFS-Subs-Admin.php" destination="$sourcedir" />
151
+        <require-file name="SFS-Subs-Logs.php" destination="$sourcedir" />
150 152
 
151 153
 		<!-- this dir may not exist in SMF -->
152 154
 		<create-dir name="admin" destination="$themedir/images" />
153 155