diff options
-rw-r--r-- | codebase/gantt_connector.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/codebase/gantt_connector.php b/codebase/gantt_connector.php index 3f20062..ee41125 100644 --- a/codebase/gantt_connector.php +++ b/codebase/gantt_connector.php @@ -139,16 +139,8 @@ class GanttConnector extends Connector{ **/ class GanttDataProcessor extends DataProcessor{ function name_data($data){ - if ($data=="start_date") - return $this->config->text[0]["db_name"]; if ($data=="id") return $this->config->id["db_name"]; - if ($data=="duration" && $this->config->text[1]["name"] == "duration") - return $this->config->text[1]["db_name"]; - if ($data=="end_date" && $this->config->text[1]["name"] == "end_date") - return $this->config->text[1]["db_name"]; - if ($data=="text") - return $this->config->text[2]["db_name"]; return $data; } @@ -276,7 +268,6 @@ class JSONGanttConnector extends GanttConnector { public function render_links($table,$id="",$fields=false,$extra=false,$relation_id=false) { $links = new JSONOptionsConnector($this->get_connection(),$this->names["db_class"]); - $links->enable_log("some.txt"); $links->render_table($table,$id,$fields,$extra); $this->set_options("links", $links); } |