aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin/admin_search.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-10-08 20:11:59 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-10-08 20:11:59 +0000
commit1d0e4ee436cf7ca5790d83aac11ed9cf90a4ccda (patch)
tree73ca6e624983f82af9507b3e5fd94e581c8103f3 /phpBB/admin/admin_search.php
parent64aee6d171aaf3e74b7b3755e054cdcc89061a5d (diff)
downloadforums-1d0e4ee436cf7ca5790d83aac11ed9cf90a4ccda.tar
forums-1d0e4ee436cf7ca5790d83aac11ed9cf90a4ccda.tar.gz
forums-1d0e4ee436cf7ca5790d83aac11ed9cf90a4ccda.tar.bz2
forums-1d0e4ee436cf7ca5790d83aac11ed9cf90a4ccda.tar.xz
forums-1d0e4ee436cf7ca5790d83aac11ed9cf90a4ccda.zip
Permission related updates ... is still not final but is getting there ... faster than British Rail too
git-svn-id: file:///svn/phpbb/trunk@2943 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/admin_search.php')
-rw-r--r--phpBB/admin/admin_search.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/phpBB/admin/admin_search.php b/phpBB/admin/admin_search.php
index 86d7b820b2..452f36a053 100644
--- a/phpBB/admin/admin_search.php
+++ b/phpBB/admin/admin_search.php
@@ -21,7 +21,7 @@
if ( !empty($setmodules) )
{
- if ( !$auth->get_acl_admin('general') )
+ if ( !$auth->acl_get('a_general') )
{
return;
}
@@ -44,7 +44,7 @@ include($phpbb_root_path . 'includes/functions_posting.'.$phpEx);
//
// Do we have forum admin permissions?
//
-if ( !$auth->get_acl_admin('general') )
+if ( !$auth->acl_get('a_general') )
{
message_die(MESSAGE, $lang['No_admin']);
}
@@ -52,11 +52,11 @@ if ( !$auth->get_acl_admin('general') )
//
// Start indexing
//
-if ( isset($HTTP_POST_VARS['start']) || isset($HTTP_GET_VARS['batchstart']) )
+if ( isset($_POST['start']) || isset($_GET['batchstart']) )
{
$batchsize = 200; // Process this many posts per batch
- $batchstart = ( !isset($HTTP_GET_VARS['batchstart']) ) ? $row['min_post_id'] : $HTTP_GET_VARS['batchstart'];
- $batchcount = ( !isset($HTTP_GET_VARS['batchcount']) ) ? 1 : $HTTP_GET_VARS['batchcount'];
+ $batchstart = ( !isset($_GET['batchstart']) ) ? $row['min_post_id'] : $_GET['batchstart'];
+ $batchcount = ( !isset($_GET['batchcount']) ) ? 1 : $_GET['batchcount'];
$loopcount = 0;
$batchend = $batchstart + $batchsize;
@@ -108,7 +108,7 @@ if ( isset($HTTP_POST_VARS['start']) || isset($HTTP_GET_VARS['batchstart']) )
closedir($dir);
- if ( !isset($HTTP_GET_VARS['batchstart']) )
+ if ( !isset($_GET['batchstart']) )
{
//
// Take board offline
@@ -312,7 +312,7 @@ if ( isset($HTTP_POST_VARS['start']) || isset($HTTP_GET_VARS['batchstart']) )
exit;
}
-else if ( isset($HTTP_POST_VARS['cancel']) )
+else if ( isset($_POST['cancel']) )
{
$sql = "UPDATE " . CONFIG_TABLE . "
SET config_value = '0'