File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ function persistStats() {
277277
278278 function hash ($ id ) {
279279
280- return md5 ($ id );
280+ return md5 ( $ id . OWA_AUTH_KEY );
281281 }
282282
283283 function debug ($ msg ) {
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class owa_user extends owa_entity {
3636 function __construct () {
3737
3838 $ this ->setTableName ('user ' );
39- $ this -> setCachable ();
39+
4040 // properties
4141 $ this ->properties ['id ' ] = new owa_dbColumn ;
4242 $ this ->properties ['id ' ]->setDataType (OWA_DTD_SERIAL );
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ class owa_fileCache extends owa_cacheType {
3434
3535 var $ cache_dir ;
3636 var $ lock_file_name = 'cache.lock ' ;
37- var $ cache_file_header = ' <?php\n/* ' ;
38- var $ cache_file_footer = ' */\n?> ' ;
37+ var $ cache_file_header = " <?php \n /* " ;
38+ var $ cache_file_footer = " */ \n ?> " ;
3939 var $ file_perms = 0750 ;
4040 var $ dir_perms = 0750 ;
4141 var $ mutex ;
@@ -282,7 +282,7 @@ function deleteFiles($files) {
282282 if (!empty ($ files )) {
283283
284284 foreach ($ files as $ file ) {
285- $ this -> debug ("About to unlink cache file: " .$ file );
285+ owa_coreAPI:: debug ("About to unlink cache file: " .$ file );
286286 unlink ($ file );
287287 }
288288
You can’t perform that action at this time.
0 commit comments