From 9672d9f3bf51a5b383078874035796c6ac776eb1 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 5 Jan 2014 20:58:48 +0100 Subject: removed the old plugin manager --- lib/plugins/plugin/classes/ap_update.class.php | 36 -------------------------- 1 file changed, 36 deletions(-) delete mode 100644 lib/plugins/plugin/classes/ap_update.class.php (limited to 'lib/plugins/plugin/classes/ap_update.class.php') diff --git a/lib/plugins/plugin/classes/ap_update.class.php b/lib/plugins/plugin/classes/ap_update.class.php deleted file mode 100644 index 5d7f6cb08..000000000 --- a/lib/plugins/plugin/classes/ap_update.class.php +++ /dev/null @@ -1,36 +0,0 @@ -plugin_readlog($this->plugin, 'url'); - $this->download($plugin_url, $this->overwrite); - return ''; - } - - function html() { - parent::html(); - - ptln('
'); - ptln('

'.$this->lang['updating'].'

'); - - if ($this->manager->error) { - ptln('
'.str_replace("\n","
", $this->manager->error).'
'); - } else if (count($this->downloaded) == 1) { - ptln('

'.sprintf($this->lang['updated'],$this->downloaded[0]).'

'); - } else if (count($this->downloaded)) { // more than one plugin in the download - ptln('

'.$this->lang['updates'].'

'); - ptln(''); - } else { // none found in download - ptln('

'.$this->lang['update_none'].'

'); - } - ptln('
'); - } -} - -- cgit v1.2.3