X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-active.php;h=e867de09cfcef2ce5c6d3cfaadf1a1d7469bff54;hb=08bcd047b40c7bbb2093fa7ee82f8681f19d960b;hp=0a385f601dc3dcc3ef9c01d82d32c03d82acff31;hpb=52e8a0635bd0b7c653845685c55e4e5f251375fe;p=mailer.git diff --git a/inc/extensions/ext-active.php b/inc/extensions/ext-active.php index 0a385f601d..e867de09cf 100644 --- a/inc/extensions/ext-active.php +++ b/inc/extensions/ext-active.php @@ -54,7 +54,7 @@ case "register": // Do stuff when installtion is running (modules.php?module=adm $SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_guest_menu (action, what, title, sort, visible, locked) VALUES ('main', 'active', 'Heute Online', 10, 'N', 'Y')"; // Load CSS file? - $EXT_CSS = 'Y'; + $EXT_CSS = "Y"; break; case "remove": // Do stuff when removing extension @@ -97,7 +97,7 @@ case "update": // Update an extension break; case "0.0.5": // SQL queries for v0.0.5 - $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD active_limit bigint(20) not null default '10'"; + $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD active_limit BIGINT(20) NOT NULL DEFAULT '10'"; $SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_admin_menu (action, what, title, descr, sort) VALUES('setup', 'config_active', 'Aktiv-Liste', 'Einstellungen an der Aktiv-Liste (Heute Online im Gastbereich) vornehmen.', 8)"; // Update notes (these will be set as task text!) @@ -123,7 +123,7 @@ case "update": // Update an extension default: // Do stuff when extension is loaded $dummy = LOAD_CONFIG(); - $_CONFIG['active_limit'] = $dummy['active_limit']; // Only display X most active users for today + $_CONFIG = merge_array($_CONFIG, $dummy); unset($dummy); break; } @@ -131,7 +131,7 @@ default: // Do stuff when extension is loaded $EXT_LANG_PREFIX = "active"; // Extension is always active? -$EXT_ALWAYS_ACTIVE = 'N'; +$EXT_ALWAYS_ACTIVE = "N"; // ?>