Remove trailing white space and update the comments.

This commit is contained in:
Mark Crane
2013-01-23 13:49:51 +00:00
parent 25a05e6d6b
commit 499bce0486
+12 -4
View File
@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com> Mark J Crane <markjcrane@fusionpbx.com>
Copyright (C) 2010 Copyright (C) 2013
All Rights Reserved. All Rights Reserved.
Contributor(s): Contributor(s):
@@ -25,7 +25,7 @@
*/ */
include "root.php"; include "root.php";
//define the follow me class //define the schema class
class schema { class schema {
public $db; public $db;
public $apps; public $apps;
@@ -90,7 +90,7 @@ include "root.php";
} }
} }
if ($this->db_type == "mysql") { if ($this->db_type == "mysql") {
$sql .= ") ENGINE=INNODB;"; $sql .= ") ENGINE=INNODB;";
} }
else { else {
$sql .= ");"; $sql .= ");";
@@ -118,4 +118,12 @@ include "root.php";
$this->db->commit(); $this->db->commit();
} }
} }
} }
//example use
//require_once "includes/classes/schema.php";
//$schema = new schema;
//$schema->db_type = $db_type;
//$schema->sql();
//$result_array = $schema->result['sql'];
//print_r($result_array);