removed any trace of MySQL from PHPFSPOT_DB
authorAndreas Unterkircher <unki@netshadow.at>
Sun, 30 Dec 2007 10:05:17 +0000 (11:05 +0100)
committerAndreas Unterkircher <unki@netshadow.at>
Sun, 30 Dec 2007 10:05:17 +0000 (11:05 +0100)
phpfspot_db.php

index 7d8caa09f0a040ba770714c36e8adf81a7e108e7..4e87cf9c87927978eb2ed671d7554cc5e2fe5458 100644 (file)
@@ -43,7 +43,7 @@ class PHPFSPOT_DB {
       /* We are starting disconnected */
       $this->setConnStatus(false);
 
       /* We are starting disconnected */
       $this->setConnStatus(false);
 
-      /* Connect to MySQL Database */
+      /* Connect to database */
       $this->db_connect();
 
    } // __construct()
       $this->db_connect();
 
    } // __construct()
@@ -234,19 +234,6 @@ class PHPFSPOT_DB {
 
    } // db_getNumRows()
 
 
    } // db_getNumRows()
 
-   /**
-    * PHPFSPOT_DB get primary key
-    *
-    * This function returns the primary key of the last
-    * operated insert SQL query.
-    */
-   public function db_getid()
-   {
-      /* Get the last primary key ID from execute query */
-      return mysql_insert_id($this->db->connection);
-      
-   } // db_getid()
-
    /**
     * PHPFSPOT_DB check table exists
     *
    /**
     * PHPFSPOT_DB check table exists
     *