$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.
// 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();