Changeset 124
- Timestamp:
- 03/05/08 02:24:38 (9 months ago)
- Files:
-
- trunk/Phergie/Plugin/Toggle.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Phergie/Plugin/Toggle.php
r123 r124 13 13 public function onDoDisable($plugin) 14 14 { 15 if ($instance = $this->get Instance($plugin) && $instance != $this) {15 if ($instance = $this->getPlugin($plugin) && $instance != $this) { 16 16 $instance->enabled = false; 17 17 $this->doPrivmsg($this->event->getSource(), 'Disabled '.$plugin.'.'); … … 23 23 public function onDoEnable($plugin) 24 24 { 25 if ($instance = $this->get Instance($plugin)) {25 if ($instance = $this->getPlugin($plugin)) { 26 26 $instance->enabled = true; 27 27 $this->doPrivmsg($this->event->getSource(), 'Enabled '.$plugin.'.');