@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | { |
35 | 35 | $obj = SiteConfig::current_site_config(); |
36 | 36 | |
37 | - return (string) 'ts_'.strtotime($obj->CacheKeyLastEdited); |
|
37 | + return (string) 'ts_' . strtotime($obj->CacheKeyLastEdited); |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | public static function update_cache_key(?string $className = '') |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | UPDATE "SiteConfig" |
44 | 44 | SET |
45 | 45 | "CacheKeyLastEdited" = \'' . DBDatetime::now()->Rfc2822() . '\', |
46 | - "ClassNameLastEdited" = \'' . $className. '\' |
|
46 | + "ClassNameLastEdited" = \'' . $className . '\' |
|
47 | 47 | ;'); |
48 | 48 | } |
49 | 49 | } |