aboutsummaryrefslogtreecommitdiff
path: root/classes/SchemaDb.php
diff options
context:
space:
mode:
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();
}