From: <ma...@us...> - 2012-01-07 17:05:48
|
Revision: 8665 http://xoops.svn.sourceforge.net/xoops/?rev=8665&view=rev Author: mageg Date: 2012-01-07 17:05:42 +0000 (Sat, 07 Jan 2012) Log Message: ----------- Fixed a small error Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/banners.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/clients.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/banners.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/banners.php 2012-01-07 14:54:20 UTC (rev 8664) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/banners.php 2012-01-07 17:05:42 UTC (rev 8665) @@ -26,10 +26,6 @@ if (!$xoops->isUser() || !$xoops->isModule() || !$xoops->user->isAdmin($xoops->module->mid())) { exit(_NOPERM); } -// Check is active -if (!$xoops->getModuleConfig('active_banners', 'system')) { - $xoops->redirect('admin.php', 2, _AM_SYSTEM_NOTACTIVE); -} // Parameters $nb_banners = $xoops->getModuleConfig('banners_pager'); $mimetypes = array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png', 'image/png', 'application/x-shockwave-flash'); Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/clients.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/clients.php 2012-01-07 14:54:20 UTC (rev 8664) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/banners/admin/clients.php 2012-01-07 17:05:42 UTC (rev 8665) @@ -27,10 +27,6 @@ if (!$xoops->isUser() || !$xoops->isModule() || !$xoops->user->isAdmin($xoops->module->mid())) { exit(_NOPERM); } -// Check is active -if (!$xoops->getModuleConfig('active_banners', 'system')) { - $xoops->redirect('admin.php', 2, _AM_SYSTEM_NOTACTIVE); -} // Parameters $nb_clients = $xoops->getModuleConfig('banners_clientspager'); // Get Action type This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |