Replace some usages of getModel(), getController(), etc. with getInstance()

This commit is contained in:
Kijin Sung 2020-05-18 21:45:44 +09:00
parent 6f9bfb0bac
commit 052930a6d4
4 changed files with 31 additions and 31 deletions

View file

@ -82,7 +82,7 @@ class DisplayHandler extends Handler
// execute add-on
$called_position = 'before_display_content';
$oAddonController = getController('addon');
$oAddonController = AddonController::getInstance();
$addon_file = $oAddonController->getCacheFilePath(Mobile::isFromMobilePhone() ? "mobile" : "pc");
if(file_exists($addon_file)) include($addon_file);
if($output === false || $output === null || $output instanceof BaseObject)