aboutsummaryrefslogtreecommitdiff
path: root/classes/SchemaDb.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-06-07 17:48:34 -0300
committerSilvio <silvio@devlet.com.br>2010-06-07 17:48:34 -0300
commit0f3203c9c25b2c936ba8ebdf2fd2548209213620 (patch)
treec6f8b556bb81817304f24051a3bfd7abf751f1fd /classes/SchemaDb.php
parentb3b87bf51fddd21130bf8975036ee82f66ad042b (diff)
downloadcinisis-0f3203c9c25b2c936ba8ebdf2fd2548209213620.tar.gz
cinisis-0f3203c9c25b2c936ba8ebdf2fd2548209213620.tar.bz2
Misc fixes
Diffstat (limited to 'classes/SchemaDb.php')
-rw-r--r--classes/SchemaDb.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/SchemaDb.php b/classes/SchemaDb.php
index c00ae66..db9ca30 100644
--- a/classes/SchemaDb.php
+++ b/classes/SchemaDb.php
@@ -11,7 +11,7 @@ class SchemaDb {
* @return
* Array with required config.
*/
- public function required() {
+ static function required() {
$schema = array(
'db' => array(
'name' => 'dbname',
@@ -73,7 +73,7 @@ class SchemaDb {
*
* @see IsisDb::check()
*/
- function check($schema, $section = NULL) {
+ static function check($schema, $section = NULL) {
if ($section === NULL) {
$section = SchemaDb::required();
}