From 0c954fc204a182b70e5a7bc22a65c61869b488a6 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 13 Aug 2013 00:10:04 +0200 Subject: Coding style fixes Signed-off-by: Florian Pritz --- application/models/mfile.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'application/models') diff --git a/application/models/mfile.php b/application/models/mfile.php index aaeebccaf..fabce7b94 100644 --- a/application/models/mfile.php +++ b/application/models/mfile.php @@ -43,7 +43,7 @@ class Mfile extends CI_Model { function id_exists($id) { - if(!$id) { + if (!$id) { return false; } @@ -314,7 +314,7 @@ class Mfile extends CI_Model { $filedata = $this->get_filedata($id); $userid = $this->muser->get_userid(); - if(!$this->id_exists($id)) { + if (!$this->id_exists($id)) { return false; } @@ -326,11 +326,11 @@ class Mfile extends CI_Model { LIMIT 1'; $this->db->query($sql, array($id, $userid)); - if($this->id_exists($id)) { + if ($this->id_exists($id)) { return false; } - if($this->unused_file($filedata['hash'])) { + if ($this->unused_file($filedata['hash'])) { unlink($this->file($filedata['hash'])); @rmdir($this->folder($filedata['hash'])); } -- cgit v1.2.3-24-g4f1b