Continued a bit:
[core.git] / framework / main / classes / criteria / dataset / class_DataSetCriteria.php
index 22419d1ea77c5866322632c4426a70e1e3b064e7..8e00cc2c21e0a6f94e7fd88365e3b3994268ce95 100644 (file)
@@ -167,7 +167,7 @@ class DataSetCriteria extends BaseCriteria implements StoreableCriteria {
                        // Is it empty, too?
                        if (empty($uniqueKey)) {
                                // Bad news, nothing is "unique" by design for this table
-                               ApplicationEntryPoint::app_exit('Table ' . $this->getTableName() . ' has both no primary and unique key, but ' . __METHOD__ . ' was called. Please fix your table.');
+                               ApplicationEntryPoint::exitApplication('Table ' . $this->getTableName() . ' has both no primary and unique key, but ' . __METHOD__ . ' was called. Please fix your table.');
                        } else {
                                // Return unique key
                                return $uniqueKey;