← All changes
|
class/Common/Importer/File/AbstractIndexedFile.php
+8
-0
2.14.23
→
2.15.2
View file →
| @@ -145,8 +145,16 @@ | ||
| 145 | 145 | return false; |
| 146 | 146 | } |
| 147 | 147 | |
| 148 | 148 | /** |
| 149 | + * Force the next index access to reload/regenerate for the current key. | |
| 150 | + */ | |
| 151 | + public function resetIndexState() | |
| 152 | + { | |
| 153 | + $this->loaded = false; | |
| 154 | + } | |
| 155 | + | |
| 156 | + /** | |
| 149 | 157 | * Generate file position index. |
| 150 | 158 | * |
| 151 | 159 | * @return mixed |
| 152 | 160 | */ |