diff options
author | Silvio <silvio@devlet.com.br> | 2010-07-23 17:54:11 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-07-23 17:54:11 -0300 |
commit | 4f111a27513f7811df4848773b24fe17541d1fb7 (patch) | |
tree | 91468f62a483c8efd4dac0174fbf410fa8aae888 /classes/PerlSingleton.php | |
parent | 770b3c7364dcea139eb5a2204b3648c4825e3f69 (diff) | |
download | cinisis-4f111a27513f7811df4848773b24fe17541d1fb7.tar.gz cinisis-4f111a27513f7811df4848773b24fe17541d1fb7.tar.bz2 |
Removing the perl singleton
Diffstat (limited to 'classes/PerlSingleton.php')
-rw-r--r-- | classes/PerlSingleton.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/classes/PerlSingleton.php b/classes/PerlSingleton.php deleted file mode 100644 index c606cfe..0000000 --- a/classes/PerlSingleton.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -class PerlSingleton { - private static $instance = null; - - private function __construct() { - $this->perl = new Perl(); - } - - public static function getInstance() { - if(self::$instance == null) { - self::$instance = new self; - } - - return self::$instance->perl; - } -} |