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:
Sarjuuk
2024-03-11 19:40:30 +01:00
parent 3e6e43fd68
commit ec1a2afc5f
75 changed files with 387 additions and 223 deletions

View File

@@ -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)