Changeset 232
- Timestamp:
- 04/14/08 00:10:01 (7 months ago)
- Files:
-
- trunk/Phergie/Driver/Streams.php (modified) (2 diffs)
- trunk/Phergie/Plugin/Abstract/Base.php (modified) (3 diffs)
- trunk/Phergie/Plugin/Acronym.php (modified) (1 diff)
- trunk/Phergie/Plugin/Altnick.php (modified) (1 diff)
- trunk/Phergie/Plugin/Autojoin.php (modified) (1 diff)
- trunk/Phergie/Plugin/ChuckNorris.php (modified) (1 diff)
- trunk/Phergie/Plugin/Drink.php (modified) (1 diff)
- trunk/Phergie/Plugin/FeedTicker.php (modified) (1 diff)
- trunk/Phergie/Plugin/Karma.php (modified) (1 diff)
- trunk/Phergie/Plugin/Lart.php (modified) (1 diff)
- trunk/Phergie/Plugin/Logging.php (modified) (1 diff)
- trunk/Phergie/Plugin/Math.php (modified) (1 diff)
- trunk/Phergie/Plugin/Nickserv.php (modified) (1 diff)
- trunk/Phergie/Plugin/Php.php (modified) (1 diff)
- trunk/Phergie/Plugin/Quit.php (modified) (1 diff)
- trunk/Phergie/Plugin/Spellcheck.php (modified) (1 diff)
- trunk/Phergie/Plugin/Tld.php (modified) (1 diff)
- trunk/Phergie/Plugin/Toggle.php (modified) (1 diff)
- trunk/Phergie/Plugin/Weather.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Phergie/Driver/Streams.php
r230 r232 186 186 $this->debug('Timed out'); 187 187 foreach($this->plugins as $plugin) { 188 $plugin-> shutdown();188 $plugin->onShutdown(); 189 189 } 190 190 break 2; … … 344 344 } 345 345 foreach($this->plugins as $plugin) { 346 $plugin-> shutdown();346 $plugin->onShutdown(); 347 347 } 348 348 if (isset($this->queue['quit'][0][1])) { trunk/Phergie/Plugin/Abstract/Base.php
r226 r232 109 109 $this->dir = $dir; 110 110 } 111 $this-> init();111 $this->onInit(); 112 112 } 113 113 … … 560 560 * @return void 561 561 */ 562 public function init() { }562 public function onInit() { } 563 563 564 564 /** … … 568 568 * @return void 569 569 */ 570 public function shutdown() { }570 public function onShutdown() { } 571 571 572 572 /** trunk/Phergie/Plugin/Acronym.php
r223 r232 56 56 * @return void 57 57 */ 58 public function init()58 public function onInit() 59 59 { 60 60 $limit = $this->getPluginIni('limit'); trunk/Phergie/Plugin/Altnick.php
r217 r232 26 26 * @return void 27 27 */ 28 public function init()28 public function onInit() 29 29 { 30 30 $this->index = -1; trunk/Phergie/Plugin/Autojoin.php
r224 r232 36 36 * @return void 37 37 */ 38 public function init()38 public function onInit() 39 39 { 40 40 $joinInvite = $this->getPluginIni('invite'); trunk/Phergie/Plugin/ChuckNorris.php
r223 r232 81 81 * @return void 82 82 */ 83 public function init()83 public function onInit() 84 84 { 85 85 try { trunk/Phergie/Plugin/Drink.php
r218 r232 82 82 * @return void 83 83 */ 84 public function init()84 public function onInit() 85 85 { 86 86 try { trunk/Phergie/Plugin/FeedTicker.php
r218 r232 98 98 * @return void 99 99 */ 100 public function init()100 public function onInit() 101 101 { 102 102 // Delay between feed syndications trunk/Phergie/Plugin/Karma.php
r223 r232 77 77 * @return void 78 78 */ 79 public function init()79 public function onInit() 80 80 { 81 81 $this->db = null; trunk/Phergie/Plugin/Lart.php
r223 r232 71 71 * @return void 72 72 */ 73 public function init()73 public function onInit() 74 74 { 75 75 try { trunk/Phergie/Plugin/Logging.php
r223 r232 118 118 * @return void 119 119 */ 120 public function init()120 public function onInit() 121 121 { 122 122 try { trunk/Phergie/Plugin/Math.php
r217 r232 11 11 * Backwards compatibility for constants not defined in PHP 5.1.x 12 12 */ 13 public function init()13 public function onInit() 14 14 { 15 15 if (version_compare('5.2', PHP_VERSION, '>')) { trunk/Phergie/Plugin/Nickserv.php
r223 r232 43 43 * @return void 44 44 */ 45 public function init()45 public function onInit() 46 46 { 47 47 parent::init(); trunk/Phergie/Plugin/Php.php
r217 r232 24 24 * @return void 25 25 */ 26 public function init()26 public function onInit() 27 27 { 28 28 $this->cache = array(); trunk/Phergie/Plugin/Quit.php
r226 r232 40 40 * @return void 41 41 */ 42 public function init()42 public function onInit() 43 43 { 44 44 $phpPath = trim($this->getPluginIni('php_path')); trunk/Phergie/Plugin/Spellcheck.php
r217 r232 28 28 * @return void 29 29 */ 30 public function init()30 public function onInit() 31 31 { 32 32 $this->pspell = pspell_new($this->getPluginIni('lang')); trunk/Phergie/Plugin/Tld.php
r228 r232 48 48 * @return void 49 49 */ 50 public function init()50 public function onInit() 51 51 { 52 52 self::$fixedTlds = array( trunk/Phergie/Plugin/Toggle.php
r223 r232 43 43 * @return void 44 44 */ 45 public function init()45 public function onInit() 46 46 { 47 47 // Check to see if PDO and Sqlite is available trunk/Phergie/Plugin/Weather.php
r217 r232 31 31 * @return void 32 32 */ 33 public function init()33 public function onInit() 34 34 { 35 35 $this->partnerId = $this->getPluginIni('partner_id');