X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-active.php;h=4845b2fcfc47ccb429c19d5bf989472d79baa6d5;hb=985561270461045c64719266ca6b3a795f6cd76a;hp=00c83a01e6a17819557f884ee6cb496d0d0e7a51;hpb=e5fe5afb17a5c8106f4c890234dfa39419e70f5d;p=mailer.git
diff --git a/inc/extensions/ext-active.php b/inc/extensions/ext-active.php
index 00c83a01e6..4845b2fcfc 100644
--- a/inc/extensions/ext-active.php
+++ b/inc/extensions/ext-active.php
@@ -1,7 +1,7 @@
Heute Online im Gastbereich) vornehmen.', 8);
+ addConfigAddSql('active_limit', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 10');
+ addAdminMenuSql('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!)
setExtensionUpdateNotes("Aktiven-Liste im Gastbereich ist nun einschränkbar.");
@@ -119,30 +118,30 @@ switch (getExtensionMode()) {
case '0.0.9': // SQL queries for v0.0.9
// Make update depending on 'online'
- addExtensionUpdateDependency('online');
+ addExtensionDependency('online');
// Register filter
- registerFilter('online_extra_links', 'ADD_LINK_ACTIVE_LIST', false, true, getExtensionDryRun());
+ registerFilter('online_extra_links', 'ADD_LINK_ACTIVE_LIST', false, true, isExtensionDryRun());
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Filter für den "Wer ist Online" Block hinzugefügt und ist von online abhängig.");
break;
- }
+ } // END - switch
break;
case 'modify': // When the extension got modified
break;
- case 'test': // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
+ case 'test': // For testing purposes
break;
case 'init': // Do stuff when extension is initialized
break;
default: // Unknown extension mode
- DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown extension mode %s detected.", getExtensionMode()));
+ logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName()));
break;
-}
+} // END - switch
// [EOF]
?>