]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/cachesystem.class.php
Sort reversed
[mailer.git] / inc / classes / cachesystem.class.php
index 7d722b121e489c20177117b568e37b951505054e..dd991721182406a698395cd3d2d51400243d65ee 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -189,10 +189,10 @@ class CacheSystem {
                                        // Access control lines
                                        $GLOBALS['cache_array']['admin_acls'][$k][$data['admin_id']][] = $v;
                                } elseif ($this->name == 'refdepths') {
-                                       // Referal levels
+                                       // Referral levels
                                        $GLOBALS['cache_array']['refdepths'][$k][$data['id']] = $v;
                                } elseif ($this->name == 'refsystem') {
-                                       // Referal system
+                                       // Referral system
                                        $GLOBALS['cache_array']['refsystem'][$k][$data['id']] = $v;
                                } elseif ($this->name == 'revision') {
                                        // Revision data
@@ -207,6 +207,12 @@ class CacheSystem {
                                } elseif ($this->name == 'imprint') {
                                        // Imprint
                                        $GLOBALS['cache_array']['imprint'][$k][$data['imprint_id']] = $v;
+                               } elseif ($this->name == 'points_data') {
+                                       // Table 'points_data'
+                                       $GLOBALS['cache_array']['points_data'][$k][$data['id']] = $v;
+                               } elseif ($this->name == 'earning') {
+                                       // Table 'earning'
+                                       $GLOBALS['cache_array']['earning'][$k][$data['earning_id']] = $v;
                                } elseif (is_array($v)) {
                                        // Serialize and BASE64-encode the array
                                        $v = base64_encode(serialize($v));