diff options
Diffstat (limited to 'plugins/Irc/extlib/phergie/Phergie/Plugin/Tld.php')
-rw-r--r-- | plugins/Irc/extlib/phergie/Phergie/Plugin/Tld.php | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/plugins/Irc/extlib/phergie/Phergie/Plugin/Tld.php b/plugins/Irc/extlib/phergie/Phergie/Plugin/Tld.php index 21993f73c..d7d64a471 100644 --- a/plugins/Irc/extlib/phergie/Phergie/Plugin/Tld.php +++ b/plugins/Irc/extlib/phergie/Phergie/Plugin/Tld.php @@ -31,31 +31,32 @@ * @link http://pear.phergie.org/package/Phergie_Plugin_Tld * @uses extension PDO * @uses extension pdo_sqlite - * - * @pluginDesc Provides information for a top level domain. */ class Phergie_Plugin_Tld extends Phergie_Plugin_Abstract { /** - * connection to the database + * Connection to the database + * * @var PDO */ protected $db; /** - * Prepared statement for selecting a single tld + * Prepared statement for selecting a single TLD + * * @var PDOStatement */ protected $select; /** - * Prepared statement for selecting all tlds + * Prepared statement for selecting all TLDs + * * @var PDOStatement */ protected $selectAll; /** - * Checks for dependencies, sets up database and hard coded values + * Checks for dependencies and sets up the database and hard-coded values. * * @return void */ @@ -65,9 +66,6 @@ class Phergie_Plugin_Tld extends Phergie_Plugin_Abstract $this->fail('PDO and pdo_sqlite extensions must be installed'); } - $help = $this->getPluginHandler()->getPlugin('Help'); - $help->register($this); - $dbFile = dirname(__FILE__) . '/Tld/tld.db'; try { $this->db = new PDO('sqlite:' . $dbFile); @@ -93,8 +91,6 @@ class Phergie_Plugin_Tld extends Phergie_Plugin_Abstract * @param string $tld tld to process * * @return null - * - * @pluginCmd .[tld] request details about the tld */ public function onCommandTld($tld) { |