projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjusted export-import to work with groups keys.
[timetracker.git]
/
WEB-INF
/
lib
/
ttFileHelper.class.php
diff --git
a/WEB-INF/lib/ttFileHelper.class.php
b/WEB-INF/lib/ttFileHelper.class.php
index
68bb38a
..
80f0716
100644
(file)
--- 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 {
$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.
$this->site_id = $val['id'];
// Obtain site key.
@@
-112,8
+112,6
@@
class ttFileHelper {
// putFile - puts uploaded file in remote storage.
function putFile($fields) {
// 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();
global $i18n;
global $user;
$mdb2 = getConnection();