Add curly braces

This commit is contained in:
Romain Neutron
2012-04-26 01:55:12 +02:00
parent ade22295ad
commit 33b10d6746
86 changed files with 2969 additions and 2698 deletions

View File

@@ -108,8 +108,10 @@ class Bridge_Api
*/
public function is_disabled()
{
if ($this->disable_time === null)
if ($this->disable_time === null) {
return false;
}
$date_obj = new DateTime();
if ($date_obj > $this->disable_time) {
$this->enable();