Check for if(class_exists('Widget')) in TagCloudWidget

This commit is contained in:
Ingo Schommer 2013-07-17 09:20:03 +02:00
parent 6c1dc6fc87
commit eb7f7488f1

View File

@ -1,5 +1,5 @@
<?php <?php
if(class_exists('Widget')) {
class TagCloudWidget extends Widget { class TagCloudWidget extends Widget {
static $db = array( static $db = array(
"Title" => "Varchar", "Title" => "Varchar",
@ -145,6 +145,4 @@ class TagCloudWidget extends Widget {
return true; return true;
} }
} }
}
?>