From: <tr...@us...> - 2012-12-16 19:57:49
|
Revision: 10419 http://sourceforge.net/p/xoops/svn/10419 Author: trabis Date: 2012-12-16 19:57:47 +0000 (Sun, 16 Dec 2012) Log Message: ----------- Updating caches after module uninstall Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/main.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/modulesadmin/main.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/system.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/main.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/main.php 2012-12-16 19:28:32 UTC (rev 10418) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/extensions/main.php 2012-12-16 19:57:47 UTC (rev 10419) @@ -138,6 +138,8 @@ } $folder = array(1, 3); $system->CleanCache($folder); + //Set active modules in cache folder + $xoops->setActiveModules(); // Call Footer $xoops->footer(); break; Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/modulesadmin/main.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/modulesadmin/main.php 2012-12-16 19:28:32 UTC (rev 10418) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/admin/modulesadmin/main.php 2012-12-16 19:57:47 UTC (rev 10419) @@ -228,6 +228,8 @@ } $folder = array(1, 3); $system->CleanCache($folder); + //Set active modules in cache folder + $xoops->setActiveModules(); // Call Footer $xoops->footer(); break; Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/system.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/system.php 2012-12-16 19:28:32 UTC (rev 10418) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/system/class/system.php 2012-12-16 19:57:47 UTC (rev 10419) @@ -150,6 +150,7 @@ $xoops = Xoops::getInstance(); $path = $xoops->path('modules/system/admin/' . $version . '/xoops_version.php'); if (file_exists($path)) { + $modversion = array(); include $path; $retvalue = $modversion[$value]; $tblVersion[$version . '.' . $value] = $retvalue; |