summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-11-25 23:33:13 +0000
committerZach Copley <zach@status.net>2009-11-25 23:33:13 +0000
commitbd4a613c380212f58dfd43a5fb5541ac4096fc24 (patch)
treea11de855ffb58a6e65be9755693cff7d6106f722 /lib
parent2dc62d21f72e47e715f30446584d7e3af60102c0 (diff)
parent035c8cfd719b5efc5df5cc203d68975566b8e976 (diff)
Merge branch 'fix-openid' into 0.9.x
Diffstat (limited to 'lib')
-rw-r--r--lib/schema.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/schema.php b/lib/schema.php
index 11e2b6f60..df7cb65f5 100644
--- a/lib/schema.php
+++ b/lib/schema.php
@@ -373,26 +373,6 @@ class Schema
}
/**
- * Ensures that the table that backs a given
- * Plugin_DataObject class exists.
- *
- * If the table does not yet exist, it will
- * create the table. If it does exist, it will
- * alter the table to match the column definitions.
- *
- * @param Plugin_DataObject $dataObjectClass
- *
- * @return boolean success flag
- */
-
- public function ensureDataObject($dataObjectClass)
- {
- $obj = new $dataObjectClass();
- $tableDef = $obj->tableDef();
- return $this->ensureTable($tableDef->name,$tableDef->columns);
- }
-
- /**
* Ensures that a table exists with the given
* name and the given column definitions.
*