mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 06:51:33 +02:00
oh boy...
- Migrate code base to PHP 5.1+ git-svn-id: file:///svn/phpbb/trunk@8295 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -71,8 +71,7 @@ class ucp_confirm
|
||||
include($phpbb_root_path . 'includes/captcha/captcha_non_gd.' . $phpEx);
|
||||
}
|
||||
|
||||
$captcha = new captcha();
|
||||
$captcha->execute($row['code'], $row['seed']);
|
||||
captcha::execute($row['code'], $row['seed']);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
@@ -26,7 +26,7 @@ class ucp_main
|
||||
var $p_master;
|
||||
var $u_action;
|
||||
|
||||
function ucp_main(&$p_master)
|
||||
function __construct(&$p_master)
|
||||
{
|
||||
$this->p_master = &$p_master;
|
||||
}
|
||||
|
@@ -34,7 +34,7 @@ function view_folder($id, $mode, $folder_id, $folder)
|
||||
$user->add_lang('viewforum');
|
||||
|
||||
// Grab icons
|
||||
$icons = $cache->obtain_icons();
|
||||
$icons = cache::obtain_icons();
|
||||
|
||||
$color_rows = array('marked', 'replied');
|
||||
|
||||
|
@@ -47,7 +47,7 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
|
||||
}
|
||||
|
||||
// Grab icons
|
||||
$icons = $cache->obtain_icons();
|
||||
$icons = cache::obtain_icons();
|
||||
|
||||
$bbcode = false;
|
||||
|
||||
|
@@ -477,7 +477,7 @@ class ucp_register
|
||||
if (!$change_lang || !$confirm_id)
|
||||
{
|
||||
$user->confirm_gc(CONFIRM_REG);
|
||||
|
||||
|
||||
$sql = 'SELECT COUNT(session_id) AS attempts
|
||||
FROM ' . CONFIRM_TABLE . "
|
||||
WHERE session_id = '" . $db->sql_escape($user->session_id) . "'
|
||||
|
Reference in New Issue
Block a user