diff options
author | Urban Müller | 2020-06-02 15:16:10 +0200 |
---|---|---|
committer | Urban Müller | 2020-06-02 15:16:10 +0200 |
commit | 7d84569b53e05f19b6d2624245a4476ba8a03c83 (patch) | |
tree | 00e6f2e2f62f19d2babe561db86ce76c2c331d51 | |
parent | e9057cbea41b418a92ab41e91a1d01808906bdd0 (diff) | |
download | itools-7d84569b53e05f19b6d2624245a4476ba8a03c83.tar.gz itools-7d84569b53e05f19b6d2624245a4476ba8a03c83.tar.bz2 itools-7d84569b53e05f19b6d2624245a4476ba8a03c83.zip |
declare static func as such
-rw-r--r-- | it_dbi.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class index 5b35fc1..2d4be89 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -112,7 +112,7 @@ function __construct($p = array(), $query = null) * Factory: Create classes of all database tables. Call statically. * @param $p array(key => value) of configuration data */ -function createclasses($p = array()) +static function createclasses($p = array()) { # Make sure singleton exists $dbi = $GLOBALS['it_dbi'] ? $GLOBALS['it_dbi'] : new it_dbi($p); |