From e23503f2e2db8c8fd655617eeeae640db66164d1 Mon Sep 17 00:00:00 2001 From: mattab Date: Sat, 14 Sep 2013 13:02:30 +1200 Subject: Adding Filechecks class for all filesystem checks --- plugins/CorePluginsAdmin/PluginInstaller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/CorePluginsAdmin/PluginInstaller.php') diff --git a/plugins/CorePluginsAdmin/PluginInstaller.php b/plugins/CorePluginsAdmin/PluginInstaller.php index eb7cf7095c..6afae27957 100644 --- a/plugins/CorePluginsAdmin/PluginInstaller.php +++ b/plugins/CorePluginsAdmin/PluginInstaller.php @@ -9,8 +9,8 @@ * @package CorePluginsAdmin */ namespace Piwik\Plugins\CorePluginsAdmin; +use Piwik\Filechecks; use Piwik\Filesystem; -use Piwik\Piwik; use Piwik\Unzip; /** @@ -46,7 +46,7 @@ class PluginInstaller private function makeSureFoldersAreWritable() { - Piwik::dieIfDirectoriesNotWritable(array(self::PATH_TO_DOWNLOAD, self::PATH_TO_EXTRACT)); + Filechecks::dieIfDirectoriesNotWritable(array(self::PATH_TO_DOWNLOAD, self::PATH_TO_EXTRACT)); } private function downloadPluginFromMarketplace($pluginZipTargetFile) -- cgit v1.2.3