diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-08-09 20:57:51 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-08-12 11:58:51 +0400 |
commit | 7b86403b1bac6f5a9fc8f6f434bd572c91dc915a (patch) | |
tree | 77734440c56c62c22a8750ae322752f25b8cb5f2 /core | |
parent | 3e625413e3b6901282222f96a4e48ce953b07c68 (diff) |
refs #5936 moved some business logic from controller into model which also brings the advantage to make it better testable. Controller should be always simple/small... removeGoneFiles() is not really testable as it uses the static filesystem and I did not want to make the code ugly to mock it... Looking forward to dependency injection
Diffstat (limited to 'core')
-rw-r--r-- | core/Filesystem.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/Filesystem.php b/core/Filesystem.php index 637564255e..7597b0957c 100644 --- a/core/Filesystem.php +++ b/core/Filesystem.php @@ -9,7 +9,6 @@ namespace Piwik; use Exception; -use Piwik\Plugins\Installation\ServerFilesGenerator; use Piwik\Tracker\Cache; /** |