From: <du...@us...> - 2012-12-06 02:19:28
|
Revision: 10325 http://sourceforge.net/p/xoops/svn/10325 Author: dugris Date: 2012-12-06 02:19:25 +0000 (Thu, 06 Dec 2012) Log Message: ----------- replace global with xoops class Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/xcaptcha/admin/index.php Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/xcaptcha/admin/index.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/xcaptcha/admin/index.php 2012-12-06 01:25:09 UTC (rev 10324) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/xcaptcha/admin/index.php 2012-12-06 02:19:25 UTC (rev 10325) @@ -22,7 +22,7 @@ switch ($op) { case 'save': - if (!$GLOBALS['xoopsSecurity']->check()) { + if (!$xoops->security->check()) { $xoops->redirect('index.php', 5, implode(',', $GLOBALS['xoopsSecurity']->getErrors())); } if ($type == 'config') { |