From: Roland Häder Date: Thu, 18 Dec 2008 22:10:06 +0000 (+0000) Subject: Mediadata extension now creates the guest menu link, extension 'active' fixed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e8b99d201eaf3ef83bb83e6b42f146752a06721a;p=mailer.git Mediadata extension now creates the guest menu link, extension 'active' fixed --- diff --git a/inc/databases.php b/inc/databases.php index 35128c568e..43f22f101c 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -114,7 +114,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // Current SVN revision -define('CURR_SVN_REVISION', "655"); +define('CURR_SVN_REVISION', "656"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/extensions/ext-mediadata.php b/inc/extensions/ext-mediadata.php index 835fbda692..d734b49bec 100644 --- a/inc/extensions/ext-mediadata.php +++ b/inc/extensions/ext-mediadata.php @@ -38,13 +38,13 @@ if (!defined('__SECURITY')) { } // Version number -$EXT_VERSION = "0.0.8"; +$EXT_VERSION = "0.0.9"; // Auto-set extension version if (empty($EXT_VER)) $EXT_VER = $EXT_VERSION; // Version history array (add more with , "0.1" and so on) -$EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3", "0.0.4", "0.0.5", "0.0.6", "0.0.7", "0.0.8"); +$EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3", "0.0.4", "0.0.5", "0.0.6", "0.0.7", "0.0.8", "0.0.9"); switch ($EXT_LOAD_MODE) { @@ -57,6 +57,7 @@ case "remove": // Do stuff when removing extension // SQL commands to run $SQLs[] = "DROP TABLE IF EXISTS "._MYSQL_PREFIX."_mediadata"; $SQLs[] = "DELETE LOW_PRIORITY FROM `"._MYSQL_PREFIX."_admin_menu` WHERE what='config_mediadata' LIMIT 1"; + $SQLs[] = "DELETE LOW_PRIORITY FROM `"._MYSQL_PREFIX."_guest_menu` WHERE what='mediadata' LIMIT 1"; break; case "activate": // Do stuff when admin activates this extension @@ -124,6 +125,13 @@ Bitte stellen Sie diesen derzeit manuell unter