-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage-info.xml
34 lines (27 loc) · 1.48 KB
/
package-info.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<id>SimpleDeskTeam:AlternateEmail</id>
<name>Alternate Email</name>
<version>2.0</version>
<type>modification</type>
<install for="2.1.*">
<require-file name="AlternateEmail.php" destination="$sourcedir" />
<require-file name="AlternateEmail.english.php" destination="$themes_dir/default/languages" />
<hook function="alternateemail_general_settings" hook="integrate_general_settings" file="$sourcedir/AlternateEmail.php" />
<redirect url="?action=admin;area=serversettings;sa=general" />
</install>
<uninstall for="2.1.*">
<remove-file name="AlternateEmail.php" destination="$sourcedir" />
<remove-file name="AlternateEmail.english.php" destination="$themes_dir/default/languages" />
<hook function="alternateemail_general_settings" hook="integrate_general_settings" file="$sourcedir/AlternateEmail.php" reverse="true" />
</uninstall>
<install for="2.0.*">
<modification format="xml" type="file">install20.xml</modification>
<modification format="xml" type="file">english.xml</modification>
</install>
<uninstall for="2.0.*">
<modification format="xml" type="file" reverse="true">install20.xml</modification>
<modification format="xml" type="file" reverse="true">english.xml</modification>
</uninstall>
</package-info>