diff options
author | Christian Schneider | 2008-04-04 16:38:07 +0000 |
---|---|---|
committer | Christian Schneider | 2008-04-04 16:38:07 +0000 |
commit | 66eb60ccf927e04a4a5bfb9a04d219b5d7b5a3a8 (patch) | |
tree | a377df0ca51b6d457669cb15056f099c11b31d97 /it_dbi.class | |
parent | 29c1a0b0be0f67169958d1ae0917174d4a56f6d6 (diff) | |
download | itools-66eb60ccf927e04a4a5bfb9a04d219b5d7b5a3a8.tar.gz itools-66eb60ccf927e04a4a5bfb9a04d219b5d7b5a3a8.tar.bz2 itools-66eb60ccf927e04a4a5bfb9a04d219b5d7b5a3a8.zip |
Deprecate second parameter (config) to constructor of generated classes
Diffstat (limited to 'it_dbi.class')
-rw-r--r-- | it_dbi.class | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/it_dbi.class b/it_dbi.class index 4c4b291..be5f19c 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -150,6 +150,8 @@ function createclass($p) { function $classname(\$query = null, \$p = array()) { + if (\$p) + it::error('title' => 'Deprecated use of \$p parameter for $classname', 'body' => var_export(\$p, true), 'backtraceskip' => 1); \$p += " . var_export($p, true) . "; \$this->it_dbi(\$p, \$query); } |