@@ -20,9 +20,9 @@ |
||
20 | 20 | // NB. |
21 | 21 | // if the dataobject has the versioned extension then the cache should be invalidated onAfterPublish |
22 | 22 | // hasStages function is part of the Versioned class so safe to check here |
23 | - if (! $owner->hasExtension(Versioned::class)) { |
|
23 | + if (!$owner->hasExtension(Versioned::class)) { |
|
24 | 24 | $this->doUpdateCache($className); |
25 | - } elseif (! $owner->hasStages()) { |
|
25 | + } elseif (!$owner->hasStages()) { |
|
26 | 26 | $this->doUpdateCache($className); |
27 | 27 | } |
28 | 28 | } |