]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-online.php
Listing of notifications added
[mailer.git] / inc / extensions / ext-online.php
index 92e91571e64d0023b1af78eb30b5c4d3a4db468c..6b1fa94f443b65fdcd7003834a538ebd0337264c 100644 (file)
@@ -67,13 +67,13 @@ PRIMARY KEY(id),
 KEY(userid),
 KEY(refid)
 ) TYPE=MyISAM";
-       $SQLs[]="INSERT INTO "._MYSQL_PREFIX."_admin_menu (action, what, title, descr, sort) VALUES('misc','usr_online','Online-Statistik','Eine Liste von derzeit "Online" Usern. Doppelte Einträge könnte auf mangelnden Cookie-Support des Browsers oder auf einen Spider hindeuten.', 1)";
+       $SQLs[]="INSERT INTO "._MYSQL_PREFIX."_admin_menu (`action`,`what`,`title`,`descr`,`sort`) VALUES('misc','usr_online','Online-Statistik','Eine Liste von derzeit "Online" Usern. Doppelte Einträge könnte auf mangelnden Cookie-Support des Browsers oder auf einen Spider hindeuten.', 1)";
        break;
 
 case "remove": // Do stuff when removing extension
        // SQL commands to run
        $SQLs[] = "DROP TABLE IF EXISTS "._MYSQL_PREFIX."_online";
-       $SQLs[] = "DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_admin_menu WHERE action='misc', what='usr_online' LIMIT 1";
+       $SQLs[] = "DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_admin_menu WHERE what='usr_online' LIMIT 1";
        break;
 
 case "activate": // Do stuff when admin activates this extension
@@ -114,11 +114,9 @@ case "update": // Update an extension
 default: // Do stuff when extension is loaded
        break;
 }
+
 // Language file prefix
 $EXT_LANG_PREFIX = "online";
 
-// Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
-
 //
 ?>