Changeset 273 for trunk/Phergie/Plugin/Abstract/Base.php
- Timestamp:
- 08/01/08 09:58:43 (4 months ago)
- Files:
-
- trunk/Phergie/Plugin/Abstract/Base.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Phergie/Plugin/Abstract/Base.php
r249 r273 465 465 $plugins = array_map('strtolower', $plugins); 466 466 if (in_array(strtolower($plugin), $plugins) && class_exists('Phergie_Plugin_' . $plugin) && 467 call_user_func(array('Phergie_Plugin_' . $plugin, 'checkDependencies'), $client, $plugins) ) {467 call_user_func(array('Phergie_Plugin_' . $plugin, 'checkDependencies'), $client, $plugins) === true) { 468 468 return true; 469 469 } … … 487 487 $plugins = array_map('strtolower', $plugins); 488 488 if (in_array(strtolower($plugin), $plugins) && class_exists('Phergie_Plugin_' . $plugin) && 489 call_user_func(array('Phergie_Plugin_' . $plugin, 'checkDependencies'), $client, $plugins) ) {489 call_user_func(array('Phergie_Plugin_' . $plugin, 'checkDependencies'), $client, $plugins) === true) { 490 490 return true; 491 491 } … … 546 546 * @return bool TRUE if dependencies are met, FALSE otherwise 547 547 */ 548 public static function checkDependencies(Phergie_Driver_Abstract $client, array $plugins)548 public static function checkDependencies(Phergie_Driver_Abstract $client, array $plugins) 549 549 { 550 550 return true;