Merge pull request #15333 from civicrm/5.18
[civicrm-core.git] / CRM / Export / BAO / ExportProcessor.php
index 6983115f7506ec9d193e2b5eba27cb6c7dc7cec8..b46e41e283fdb27a2c3fb800a285e0743912c781 100644 (file)
@@ -2359,6 +2359,9 @@ WHERE  id IN ( $deleteIDString )
     if ($exportMode !== $this->getExportMode() || $componentTable !== $this->getComponentTable()) {
       CRM_Core_Error::deprecatedFunctionWarning('altering the export mode and/or component table in the hook is no longer supported.');
     }
+    if ($ids !== $this->getIds()) {
+      CRM_Core_Error::deprecatedFunctionWarning('altering the ids in the hook is no longer supported.');
+    }
     if ($exportTempTable !== $this->getTemporaryTable()) {
       CRM_Core_Error::deprecatedFunctionWarning('altering the export table in the hook is deprecated (in some flows the table itself will be)');
       $this->setTemporaryTable($exportTempTable);