mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
PHP/Compat
* fixed misc issues Intellisense was nice enough to highlight. * mostly deprecated usage of uninitialized parameters * class GenericPage still needs a long, hard look and a refactor
This commit is contained in:
@@ -6,6 +6,11 @@ if (!defined('AOWOW_REVISION'))
|
||||
|
||||
class UserPage extends GenericPage
|
||||
{
|
||||
protected $lvTabs = [];
|
||||
protected $forceTabs = true;
|
||||
protected $infobox = [];
|
||||
protected $contributions = '';
|
||||
|
||||
protected $tpl = 'user';
|
||||
protected $scripts = array(
|
||||
[SC_JS_FILE, 'js/user.js'],
|
||||
@@ -14,7 +19,6 @@ class UserPage extends GenericPage
|
||||
);
|
||||
protected $mode = CACHE_TYPE_NONE;
|
||||
|
||||
protected $typeId = 0;
|
||||
protected $pageName = '';
|
||||
protected $user = [];
|
||||
|
||||
@@ -136,9 +140,6 @@ class UserPage extends GenericPage
|
||||
/* Extra Tabs */
|
||||
/**************/
|
||||
|
||||
$this->lvTabs = [];
|
||||
$this->forceTabs = true;
|
||||
|
||||
// [unused] Site Achievements
|
||||
|
||||
// Reputation changelog (params only for comment-events)
|
||||
|
||||
Reference in New Issue
Block a user