aboutsummaryrefslogtreecommitdiff
path: root/modules/rudi/includes/common.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/rudi/includes/common.class.php')
-rw-r--r--modules/rudi/includes/common.class.php35
1 files changed, 17 insertions, 18 deletions
diff --git a/modules/rudi/includes/common.class.php b/modules/rudi/includes/common.class.php
index ab8120e..2e64e48 100644
--- a/modules/rudi/includes/common.class.php
+++ b/modules/rudi/includes/common.class.php
@@ -113,20 +113,22 @@ class Rank
class Drill
{
- public function __construct()
- {
- decho("Constructing " . get_class($this) . " -> " . $this);
- }
-
- public function __destruct()
- {
- decho("Destructing " . get_class($this));
- }
-
- public function __toString()
- {
- return $this->date;
- }
+ public $members;
+ public function __construct()
+ {
+ decho("Constructing " . get_class($this) . " -> " . $this);
+ //$this->members = array('Newly constructed');
+ }
+
+ public function __destruct()
+ {
+ decho("Destructing " . get_class($this));
+ }
+
+ public function __toString()
+ {
+ return $this->date;
+ }
}
class ServiceRecord
@@ -203,10 +205,7 @@ class RUDI_Common
global $config, $db;
$this->images_path = $config['rudi']['images_path'];
- //$this->db = new RUDI_SQL();
- //$this->link = $this->db->Connect($config['sql']['hostname'], $config['sql']['username'], $config['sql']['password']);
- $this->db = $db;
- $this->db->Select_db('thirdid_oc');
+ $this->db = $db;
}
public function __destruct()