Some major rewrites + ext-network continued:
[mailer.git] / inc / extensions / ext-admintheme_default.php
index b1e959ecc8b97cfad4a7eba10fcea6b3ca5dc165..bd5fe62207e312f56cc3b90e16fd4be7f355c829 100644 (file)
@@ -47,7 +47,7 @@ setThisExtensionVersion('0.0.0');
 setExtensionVersionHistory(array('0.0.0'));
 
 switch (getExtensionMode()) {
-       case 'register': // Do stuff when installation is running
+       case 'setup': // Do stuff when installation is running
                // Remove all other menu themes
                addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_extensions` WHERE ext_name LIKE 'admintheme%'");
                addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `action`='misc' WHERE `what`='usr_online' LIMIT 1");