summaryrefslogtreecommitdiff
path: root/idiorm.php
diff options
context:
space:
mode:
authorSimon Holywell <[email protected]>2018-05-31 09:57:49 +1000
committerGitHub <[email protected]>2018-05-31 09:57:49 +1000
commitee3022fcf71232309112714ca4a7760105002f99 (patch)
tree5ce9477ea501ead5aec09bb2077dd98f9629dfd8 /idiorm.php
parentd006418da9bb1fb32313e8de7bf35f9e2696c257 (diff)
parented8293a0a88b6c319b678d65cc6699c14b7e4926 (diff)
Merge pull request #340 from j4mie/develop
Publish v1.5.6 of Idiorm
Diffstat (limited to 'idiorm.php')
-rw-r--r--idiorm.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/idiorm.php b/idiorm.php
index 0be3410..de7538a 100644
--- a/idiorm.php
+++ b/idiorm.php
@@ -361,9 +361,11 @@
}
/**
- * Delete all registered PDO objects in _db array.
+ * Close and delete all registered PDO objects in _db array.
*/
public static function reset_db() {
+ self::$_db = null;
+
self::$_db = array();
}