translate_path() only needs one parameters. remove unused second one
[phpfspot.git] / phpfspot_db.php
index 83376ad53e779d99dd8067db0f7ec53f2bd5152c..90fdb8cc17392088a0d83763b7508b940dc764ce 100644 (file)
@@ -42,7 +42,9 @@ class PHPFSPOT_DB {
     */
    public function __construct($parent, $db_path)
    {
     */
    public function __construct($parent, $db_path)
    {
-      $this->parent = $parent;
+      global $phpfspot;
+
+      $this->parent = $phpfspot;
       $this->db_path = $db_path;
 
       /* We are starting disconnected */
       $this->db_path = $db_path;
 
       /* We are starting disconnected */