]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/common.php
remove inboxes option
[quix0rs-gnu-social.git] / lib / common.php
index 58e208a4e92b98620fb540c7ffbafb67904d21d3..ce33c871bfb15b83d1c0e4b207952c8a7b61cb54 100644 (file)
@@ -232,6 +232,12 @@ require_once INSTALLDIR.'/lib/serverexception.php';
 
 Config::loadSettings();
 
+// XXX: if plugins should check the schema at runtime, do that here.
+
+if ($config['db']['schemacheck'] == 'runtime') {
+    Event::handle('CheckSchema');
+}
+
 // XXX: other formats here
 
 define('NICKNAME_FMT', VALIDATE_NUM.VALIDATE_ALPHA_LOWER);