]> git.mxchange.org Git - friendica.git/blobdiff - src/Database/DBA.php
Move NULL_DATE from boot.php to DBA::NULL_DATETIME
[friendica.git] / src / Database / DBA.php
index 8fd117e5d2c56f742b399dcf93d8ea2988218317..9baf409421ed917e48d62e5dc4c7ae8ac681b111 100644 (file)
@@ -24,6 +24,9 @@ require_once 'include/dba.php';
  */
 class DBA
 {
+       const NULL_DATE     = '0001-01-01';
+       const NULL_DATETIME = '0001-01-01 00:00:00';
+
        public static $connected = false;
 
        private static $server_info = '';