Fix database table index name of cronjob logs
authorMatthias Schmidt <gravatronics@live.com>
Thu, 4 Aug 2016 19:34:36 +0000 (21:34 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 4 Aug 2016 19:34:39 +0000 (21:34 +0200)
wcfsetup/install/files/lib/data/cronjob/log/CronjobLog.class.php

index dc85ef00b7c7264acf7ca45c6fed4de929257ae1..9f559df728a42e5e6ae497055c1a12159cbb47e9 100644 (file)
@@ -16,4 +16,9 @@ use wcf\data\DatabaseObject;
  * @property-read      integer         $success
  * @property-read      string          $error
  */
-class CronjobLog extends DatabaseObject {}
+class CronjobLog extends DatabaseObject {
+       /**
+        * @inheritDoc
+        */
+       protected static $databaseTableIndexName = 'cronjobLogID';
+}