alecpl
2012-03-07 479af90579e7898ded7ed5de966ab03a3be9300a
program/include/rcube_plugin.php
@@ -133,6 +133,17 @@
  }
  
  /**
   * Unregister a callback function for a specific (server-side) hook.
   *
   * @param string $hook Hook name
   * @param mixed  $callback Callback function as string or array with object reference and method name
   */
  public function remove_hook($hook, $callback)
  {
    $this->api->unregister_hook($hook, $callback);
  }
  /**
   * Load localized texts from the plugins dir
   *
   * @param string $dir Directory to search in
@@ -315,6 +326,4 @@
    return $this->ID.'.'.$key;
  }
}