diff --git a/e107_plugins/calendar_menu/calendar_install.php b/e107_plugins/calendar_menu/calendar_install.php deleted file mode 100644 index 5dd760597..000000000 --- a/e107_plugins/calendar_menu/calendar_install.php +++ /dev/null @@ -1,75 +0,0 @@ -"; - } -*/ - - // Installation routine - function postInstall($param) - { -// echo "Calendar install routine
"; - $result = $this->insertDefaultCategory(FALSE); - return $result; - } - - - function preUninstall($param) - { -// echo "Calendar uninstall routine
"; - } - - - function postUpgrade($param) - { -// echo "Calendar upgrade routine
"; - $result = $this->insertDefaultCategory(TRUE); - return $result; - } - - // Insert the text for the default category into the DB here - function insertDefaultCategory($isUpgrade = FALSE) - { - global $sql; - - require_once('ecal_class.php'); // Gets the define for the 'Default' category - if ($isUpgrade && $sql->db_Select('event_cat','event_cat_name',"event_cat_name='".EC_DEFAULT_CATEGORY."' ", TRUE)) - { - return EC_ADINST_LAN_08.'
'; - } -$ec_insert_entries = "INSERT INTO `#event_cat` (event_cat_name, event_cat_description, event_cat_ahead, event_cat_msg1, event_cat_msg2, event_cat_lastupdate) - VALUES ('".EC_DEFAULT_CATEGORY."', '".EC_ADINST_LAN_03."', 5, -'".EC_ADINST_LAN_01."', '".EC_ADINST_LAN_02."', -'".intval(time())."') "; - $result = $sql->db_Select_gen($ec_insert_entries); - return ($result) ? EC_ADINST_LAN_06.'
' : EC_ADINST_LAN_07.'
'; - } -} - -?> diff --git a/e107_plugins/download/download_management.php b/e107_plugins/download/download_management.php deleted file mode 100644 index f35b4fe79..000000000 --- a/e107_plugins/download/download_management.php +++ /dev/null @@ -1,48 +0,0 @@ -
"; - } - - function download_install_post(&$var) - { - global $sql; - echo "custom install 'post' function

"; - } - - function download_uninstatll(&$var) - { - global $sql; - echo "custom uninstall function

"; - } - - function download_upgrade(&$var) - { - global $sql; - echo "custom upgrade function

"; - //if(version_compare($var['current_plug']['plugin_version'], "1.2", "<")) - //{ - // $qry = "ALTER TABLE #download ADD download_postclass TINYINT( 3 ) UNSIGNED DEFAULT '0' NOT NULL ;"; - // $sql->db_Select_gen($qry); - //} - } -}