remove unused code, ws
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 13 Jan 2011 05:41:19 +0000 (00:41 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 13 Jan 2011 05:41:19 +0000 (00:41 -0500)
kronolith/lib/Driver/Sql.php
kronolith/lib/Geo/Mysql.php

index d37d4d2..bc5c058 100644 (file)
@@ -960,20 +960,4 @@ class Kronolith_Driver_Sql extends Kronolith_Driver
         return true;
     }
 
-    /**
-     * Determines if the given result is a PEAR error. If it is, logs the event
-     * and throws an exception.
-     *
-     * @param mixed $result The result to check.
-     *
-     * @throws Horde_Exception
-     */
-    protected function handleError($result)
-    {
-        if ($result instanceof PEAR_Error) {
-            Horde::logMessage($result, 'ERR');
-            throw new Kronolith_Exception($result);
-        }
-    }
-
 }
index fc6152c..391746f 100644 (file)
@@ -9,12 +9,16 @@
  * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
  *
  * @author  Michael J. Rubinsky <mrubinsk@horde.org>
- *
  * @package Kronolith
  */
 class Kronolith_Geo_Mysql extends Kronolith_Geo_Sql
 {
-    // Roughly 69 miles per distance unit
+    /**
+     * Conversion factor needed by search functions
+     *  Roughly 69 miles per distance unit
+     *
+     * @var integer
+     */
     private $_conversionFactor = 69;
 
     /**