summaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-01-28 11:11:33 +0100
committerAleksander Machniak <alec@alec.pl>2013-01-28 11:11:33 +0100
commit66d30994853ba9282c1d8f9cc189a195e79e8b9a (patch)
tree9c69cd4109dc2d805f7d3b8250a3d282613e94c8 /installer
parente4a6ebc1d900c4873a549ee8c42e3284e5f4c1c8 (diff)
Make get_instance() a static method
Diffstat (limited to 'installer')
-rw-r--r--installer/rcube_install.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index 33fd4c675..2805dc77e 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -64,7 +64,7 @@ class rcube_install
/**
* Constructor
*/
- function rcube_install()
+ function __construct()
{
$this->step = intval($_REQUEST['_step']);
$this->is_post = $_SERVER['REQUEST_METHOD'] == 'POST';
@@ -73,7 +73,7 @@ class rcube_install
/**
* Singleton getter
*/
- function get_instance()
+ static function get_instance()
{
static $inst;