Assembla home | Assembla project page
 
Show
Ignore:
Timestamp:
08/01/08 09:58:43 (4 months ago)
Author:
Seldaek
Message:

* Plugins that can't load now return error messages to say why
fixes #35

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Phergie/Plugin/Autojoin.php

    r247 r273  
    6060     * @return bool TRUE if dependencies are met, FALSE otherwise 
    6161     */ 
    62     public static function checkDependencies(Phergie_Driver_Abstract $client, array$plugins) 
     62    public static function checkDependencies(Phergie_Driver_Abstract $client, array $plugins) 
    6363    { 
    6464        $channels = $client->getIni('autojoin.channels'); 
     65 
    6566        if (empty($channels)) { 
    66             return false
     67            return 'Ini setting autojoin.channels must be filled-in'
    6768        } 
    6869