1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-09 08:06:38 +02:00

Moved theme/plugin release notification function to new class. Should be fully functional for both themes and plugins now. To-Do Ajax checking.

This commit is contained in:
CaMer0n
2009-08-17 18:42:22 +00:00
parent cb8cc9fcb9
commit 123fdf4d13
7 changed files with 180 additions and 82 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/update_routines.php,v $
| $Revision: 1.43 $
| $Date: 2009-08-17 15:45:20 $
| $Revision: 1.44 $
| $Date: 2009-08-17 18:42:20 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@@ -174,14 +174,12 @@ function update_check()
}
}
$curTheme = e107::getPref('sitetheme');
$curVersion = e107::getPref('sitetheme_version');
$curUrl = e107::getPref('sitetheme_releaseUrl');
require_once(e_HANDLER."theme_handler.php");
$thm = new themeHandler;
$thm->themeReleaseCheck($curTheme,$curVersion,$curUrl);
require_once(e_HANDLER."e_upgrade_class.php");
$upg = new e_upgrade;
$upg->checkSiteTheme();
$upg->checkAllPlugins();
//--------------------------------------------