Home
last modified time | relevance | path

Searched refs:oldNamespace (Results 1 – 4 of 4) sorted by relevance

/plugin/calendar/classes/
DEventManager.php198 * @param string|null $oldNamespace Previous namespace (for moves)
201 public static function saveEvent(array $eventData, $oldDate = null, $oldNamespace = null) { argument
229 $namespaceChanged = $oldNamespace !== null && $oldNamespace !== $namespace;
238 … $oldEventFile = self::getEventFile($oldNamespace ?? $namespace, (int)$oldYear, (int)$oldMonth);
257 … CalendarEventCache::invalidateMonth($oldNamespace ?? $namespace, (int)$oldYear, (int)$oldMonth);
/plugin/calendar/
Daction.php315 $oldNamespace = null; // null means "not found yet"
324 $oldNamespace = $foundNamespace; // Could be '' for default namespace
325 … $this->debugLog("Calendar saveEvent: Found existing event in namespace '$oldNamespace'");
354 …$existingEventData = $this->getExistingEventData($eventId, $searchDate, $oldNamespace ?? $namespac…
426 $namespaceChanged = ($eventId && $oldNamespace !== null && $oldNamespace !== $namespace);
429 …"Calendar saveEvent: eventId='$eventId', oldNamespace=" . var_export($oldNamespace, true) . ", new…
434 if ($oldNamespace) {
435 $oldDataDir .= str_replace(':', '/', $oldNamespace) . '/';
463 …og("Calendar saveEvent: DELETED event from old location - namespace:'$oldNamespace', date:'$delete…
Dadmin.php4256 $oldNamespace = $INPUT->str('old_namespace');
4274 $newNamespace = $oldNamespace;
4314 … if (strtolower(trim($eventNs)) !== strtolower(trim($oldNamespace))) continue;
4478 if ($newNamespace !== $oldNamespace) $changes[] = "namespace";
4900 $oldNamespace = $INPUT->str('old_namespace');
4904 if ($oldNamespace !== '' && !preg_match('/^[a-zA-Z0-9_:-]+$/', $oldNamespace)) {
4915 …if (strpos($oldNamespace, '..') !== false || strpos($oldNamespace, '/') !== false || strpos($oldNa…
4928 $oldPath = str_replace(':', '/', $oldNamespace);
4932 if ($oldNamespace === '') {
4946 $this->redirect("Source namespace not found: $oldNamespace", 'error', 'manage');
[all …]
DCHANGELOG.md1280 - Root cause: The comparison `$oldNamespace !== ''` was always FALSE for default namespace events
1281 …- Changed to `$oldNamespace !== null` to properly distinguish between "event not found" (null) and…
1283 …lso fixed null coalescing for recurring events: `$oldNamespace ?? $namespace` instead of `$oldName…