diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-01-08 17:45:50 -0800 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-01-08 17:45:50 -0800 |
commit | 4c58c41d818918b1690b56f05876d9af642354c0 (patch) | |
tree | b07c0f2925a5753ab3c34379db5c90c5dc38bad1 /apps/um/lib | |
parent | 83e460cdc3fc09867a3adb48c3d0894579dd3050 (diff) | |
parent | 3d64793a1ee45857856be1cd71c3a0a040a3e869 (diff) |
Diffstat (limited to 'apps/um/lib')
-rw-r--r-- | apps/um/lib/Singleton.class.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/um/lib/Singleton.class.php b/apps/um/lib/Singleton.class.php deleted file mode 100644 index 2f8c74f..0000000 --- a/apps/um/lib/Singleton.class.php +++ /dev/null @@ -1,12 +0,0 @@ -<?php - -abstract class Singleton { - private static $instances = array(); - public static function getInstance() { - $class = get_called_class(); - if (!isset(self::$instances[$class])) { - self::$instances[$class] = new $class; - } - return self::$instances[$class]; - } -} |