X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Flib%2FttFileHelper.class.php;h=80f07166aed00c1458bf1a8596ea51617661a2bc;hb=957db67a316e7ab82eee99fb0698186bf4b4c589;hp=68bb38a5707294078ac2ff91a092d64f7d95c944;hpb=54d64e3d8f517e65577aa47fb6e38114e42f4970;p=timetracker.git diff --git a/WEB-INF/lib/ttFileHelper.class.php b/WEB-INF/lib/ttFileHelper.class.php index 68bb38a5..80f07166 100644 --- a/WEB-INF/lib/ttFileHelper.class.php +++ b/WEB-INF/lib/ttFileHelper.class.php @@ -99,7 +99,7 @@ class ttFileHelper { $this->errors->add($i18n->get('error.file_storage')); } } else { - // Site id found, need to update site attributes. + // Site id found. $this->site_id = $val['id']; // Obtain site key. @@ -112,8 +112,6 @@ class ttFileHelper { // putFile - puts uploaded file in remote storage. function putFile($fields) { - // if (!$this->site_id || !$this->site_key) return false; - global $i18n; global $user; $mdb2 = getConnection();