Searched refs:oldNamespace (Results 1 – 4 of 4) sorted by relevance
| /plugin/calendar/classes/ |
| H A D | EventManager.php | 199 * @param string|null $oldNamespace Previous namespace (for moves) 202 public static function saveEvent(array $eventData, $oldDate = null, $oldNamespace = null) { argument 230 $namespaceChanged = $oldNamespace !== null && $oldNamespace !== $namespace; 239 … $oldEventFile = self::getEventFile($oldNamespace ?? $namespace, (int)$oldYear, (int)$oldMonth); 258 … CalendarEventCache::invalidateMonth($oldNamespace ?? $namespace, (int)$oldYear, (int)$oldMonth);
|
| /plugin/calendar/ |
| H A D | action.php | 358 $oldNamespace = null; // null means "not found yet" 367 $oldNamespace = $foundNamespace; // Could be '' for default namespace 368 … $this->debugLog("Calendar saveEvent: Found existing event in namespace '$oldNamespace'"); 397 …$existingEventData = $this->getExistingEventData($eventId, $searchDate, $oldNamespace ?? $namespac… 469 $namespaceChanged = ($eventId && $oldNamespace !== null && $oldNamespace !== $namespace); 472 …"Calendar saveEvent: eventId='$eventId', oldNamespace=" . var_export($oldNamespace, true) . ", new… 477 if ($oldNamespace) { 478 $oldDataDir .= str_replace(':', '/', $oldNamespace) . '/'; 506 …og("Calendar saveEvent: DELETED event from old location - namespace:'$oldNamespace', date:'$delete…
|
| H A D | admin.php | 4352 $oldNamespace = $INPUT->str('old_namespace'); 4370 $newNamespace = $oldNamespace; 4410 … if (strtolower(trim($eventNs)) !== strtolower(trim($oldNamespace))) continue; 4574 if ($newNamespace !== $oldNamespace) $changes[] = "namespace"; 4996 $oldNamespace = $INPUT->str('old_namespace'); 5000 if ($oldNamespace !== '' && !preg_match('/^[a-zA-Z0-9_:-]+$/', $oldNamespace)) { 5011 …if (strpos($oldNamespace, '..') !== false || strpos($oldNamespace, '/') !== false || strpos($oldNa… 5024 $oldPath = str_replace(':', '/', $oldNamespace); 5028 if ($oldNamespace === '') { 5042 $this->redirect("Source namespace not found: $oldNamespace", 'error', 'manage'); [all …]
|
| H A D | CHANGELOG.md | 1371 - Root cause: The comparison `$oldNamespace !== ''` was always FALSE for default namespace events 1372 …- Changed to `$oldNamespace !== null` to properly distinguish between "event not found" (null) and… 1374 …lso fixed null coalescing for recurring events: `$oldNamespace ?? $namespace` instead of `$oldName…
|