HOR-2689 Removed instances of LoadSystem, LoadThirdParty

This commit is contained in:
Chloe Deguzman
2017-02-15 16:26:02 +00:00
committed by davidcallizaya
parent 60efcf7ac7
commit 5d3a4c073f
132 changed files with 285 additions and 302 deletions

View File

@@ -291,7 +291,7 @@ class System
*/
public function verifyFileForUpgrade ()
{
G::LoadSystem('inputfilter');
$filter = new InputFilter();
$upgradeFilename = isset( $_FILES['form']['name']['UPGRADE_FILENAME'] ) ? $_FILES['form']['name']['UPGRADE_FILENAME'] : '';
$tempFilename = isset( $_FILES['form']['tmp_name']['UPGRADE_FILENAME'] ) ? $_FILES['form']['tmp_name']['UPGRADE_FILENAME'] : '';
@@ -626,7 +626,7 @@ class System
}
}
G::LoadSystem('inputfilter');
$filter = new InputFilter();
//clean up xmlform folders
@@ -744,7 +744,7 @@ class System
*/
public static function getPluginSchema ($pluginName)
{
G::LoadSystem('inputfilter');
$filter = new InputFilter();
$pathFile = $filter->xssFilterHard(PATH_PLUGINS . $pluginName . "/config/schema.xml", 'path');
if (file_exists( $pathFile )) {