summaryrefslogtreecommitdiffstats
path: root/inc/property.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2014-09-15 17:26:26 +0200
committerSimon Rettberg2014-09-15 17:26:26 +0200
commit825e994444fcdb73d62710d0d934e93a227bd30f (patch)
tree4fdf795389ebc9f554b65a89dd8bee1faa1f3c5a /inc/property.inc.php
parent[news-API] tag content as 'content' instead of 'info' (diff)
downloadslx-admin-825e994444fcdb73d62710d0d934e93a227bd30f.tar.gz
slx-admin-825e994444fcdb73d62710d0d934e93a227bd30f.tar.xz
slx-admin-825e994444fcdb73d62710d0d934e93a227bd30f.zip
Added eventlog class, improved db-update machanism.
A warning will be shown in the main menu bar if the database schema needs to be updated.
Diffstat (limited to 'inc/property.inc.php')
-rw-r--r--inc/property.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/property.inc.php b/inc/property.inc.php
index 81de137f..605d901d 100644
--- a/inc/property.inc.php
+++ b/inc/property.inc.php
@@ -141,5 +141,10 @@ class Property
{
self::set('dl-' . $name, $taskId, 5);
}
+
+ public static function getCurrentSchemaVersion()
+ {
+ return self::get('webif-version');
+ }
}