Revert "Coding convention applied - part 1"
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
if (class_exists('BaseObject')) {
|
||||
if(class_exists('BaseObject'))
|
||||
return;
|
||||
}
|
||||
|
||||
require_once('boot.php');
|
||||
|
||||
@@ -19,9 +18,8 @@ class BaseObject {
|
||||
* Same as get_app from boot.php
|
||||
*/
|
||||
public function get_app() {
|
||||
if (self::$app) {
|
||||
if(self::$app)
|
||||
return self::$app;
|
||||
}
|
||||
|
||||
self::$app = get_app();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user