[-] Classes : all classes and controllers now use their name in static calls instead of self (improve override) #PSFV-376
This commit is contained in:
@@ -60,7 +60,7 @@ abstract class AdminStatsTabControllerCore extends AdminPreferencesControllerCor
|
||||
|
||||
public function displayCalendar()
|
||||
{
|
||||
return self::displayCalendarForm(array(
|
||||
return AdminStatsTabController::displayCalendarForm(array(
|
||||
'Calendar' => $this->l('Calendar', 'AdminStatsTab'),
|
||||
'Day' => $this->l('Day', 'AdminStatsTab'),
|
||||
'Month' => $this->l('Month', 'AdminStatsTab'),
|
||||
@@ -137,7 +137,7 @@ abstract class AdminStatsTabControllerCore extends AdminPreferencesControllerCor
|
||||
return $tpl->fetch();
|
||||
}
|
||||
|
||||
private function getModules()
|
||||
protected function getModules()
|
||||
{
|
||||
$sql = 'SELECT h.`name` AS hook, m.`name`
|
||||
FROM `'._DB_PREFIX_.'module` m
|
||||
|
||||
Reference in New Issue
Block a user