Project

General

Profile

Feature #14475 ยป diff_1.48_unified-7.txt

Administrator Admin, 2005-04-04 14:51

 
--- C:\WINNT\Profiles\tc18\Desktop\class.t3lib_tcemain_1.48.php Mon Apr 04 14:41:02 2005
+++ C:\WINNT\Profiles\tc18\Desktop\class.t3lib_tcemain_1.48_hook.php Mon Apr 04 14:27:56 2005
@@ -599,14 +599,20 @@
if ($status=='new') {
// if ($pid_value<0) {$fieldArray = $this->fixCopyAfterDuplFields($table,$id,abs($pid_value),0,$fieldArray);} // Out-commented 02-05-02: I couldn't understand WHY this is needed for NEW records. Obviously to proces records being copied? Problem is that the fields are not set anyways and the copying function should basically take care of this!
$this->insertDB($table,$id,$fieldArray,FALSE,$incomingFieldArray['uid']);
} else {
$this->updateDB($table,$id,$fieldArray);
}
}
+ // Hook: processDatamap_afterDatabaseOperations
+ foreach($hookObjectsArr as $hookObj) {
+ if (method_exists($hookObj, 'processDatamap_afterDatabaseOperations')) {
+ $hookObj->processDatamap_afterDatabaseOperations($status, $table, $id, $fieldArray, $this);
+ }
+ }
} // if ($recordAccess) {
} // if (is_array($incomingFieldArray)) {
}
}
}
$this->dbAnalysisStoreExec();
$this->removeRegisteredFiles();
    (1-1/1)