diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-07-26 16:04:45 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-07-26 16:56:28 +0400 |
commit | b3a8a9dde2d90bab347b03b1ce5d60fe44113445 (patch) | |
tree | b69efb5e66d2e44434a887f9bb395a8044b3b667 /core/Console.php | |
parent | e366223af42135dad469aa2ce03ec69bc27d025e (diff) |
Refs #5807, fix build regression (accessing archive.php via web request results in PHP error).
Diffstat (limited to 'core/Console.php')
-rw-r--r-- | core/Console.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/Console.php b/core/Console.php index e0e9a3a32c..5822a74e72 100644 --- a/core/Console.php +++ b/core/Console.php @@ -51,7 +51,6 @@ class Console extends Application $commands = $this->getAvailableCommands(); foreach ($commands as $command) { - if (!class_exists($command)) { Log::warning(sprintf('Cannot add command %s, class does not exist', $command)); } elseif (!is_subclass_of($command, 'Piwik\Plugin\ConsoleCommand')) { |