Make get_instance() a static method

pull/88/head
Aleksander Machniak 12 years ago
parent 03ce0e12b8
commit 85c972a4f7

@ -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;

Loading…
Cancel
Save