Changeset 2782935
- Timestamp:
- 09/11/2022 09:08:37 AM (3 years ago)
- Location:
- pmpr-ir
- Files:
-
- 2 edited
-
tags/1.2.1/src/Pmpr/Plugin/Pmpr/Component/Base.php (modified) (2 diffs)
-
trunk/src/Pmpr/Plugin/Pmpr/Component/Base.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pmpr-ir/tags/1.2.1/src/Pmpr/Plugin/Pmpr/Component/Base.php
r2782934 r2782935 162 162 public function deleteTransients() 163 163 { 164 $this->deleteUpdateNotification(); 165 $this->deleteInstalledListCache(); 166 } 167 168 public function deleteUpdateNotification() 169 { 164 170 delete_transient($this->getBubbleNotificationKey()); 171 } 172 173 public function deleteInstalledListCache() 174 { 165 175 delete_transient(Manipulate::getComponentsCacheKey($this->getType())); 166 176 } … … 200 210 public function adminInit() 201 211 { 202 if ($this->isCurrentPage()) {203 204 $this->deleteTransients();205 }206 207 212 $this->componentUpdateRows(); 208 213 $transient = $this->getBubbleNotificationKey(); -
pmpr-ir/trunk/src/Pmpr/Plugin/Pmpr/Component/Base.php
r2782934 r2782935 162 162 public function deleteTransients() 163 163 { 164 $this->deleteUpdateNotification(); 165 $this->deleteInstalledListCache(); 166 } 167 168 public function deleteUpdateNotification() 169 { 164 170 delete_transient($this->getBubbleNotificationKey()); 171 } 172 173 public function deleteInstalledListCache() 174 { 165 175 delete_transient(Manipulate::getComponentsCacheKey($this->getType())); 166 176 } … … 200 210 public function adminInit() 201 211 { 202 if ($this->isCurrentPage()) {203 204 $this->deleteTransients();205 }206 207 212 $this->componentUpdateRows(); 208 213 $transient = $this->getBubbleNotificationKey();
Note: See TracChangeset
for help on using the changeset viewer.