aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-25 20:11:21 -0700
committerzotlabs <mike@macgirvin.com>2017-09-25 20:11:21 -0700
commitd91a82430ad4ea9def4f0c033df4be34cb26d42e (patch)
tree1258b7f7c0483fc19234f62e6640c7efb6683a95 /Zotlabs/Lib
parent66334374af2a19fb76383028975724b9eda03cf2 (diff)
downloadvolse-hubzilla-d91a82430ad4ea9def4f0c033df4be34cb26d42e.tar.gz
volse-hubzilla-d91a82430ad4ea9def4f0c033df4be34cb26d42e.tar.bz2
volse-hubzilla-d91a82430ad4ea9def4f0c033df4be34cb26d42e.zip
more zot6 basic stuff
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/System.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/Zotlabs/Lib/System.php b/Zotlabs/Lib/System.php
index a5790fb07..8b4d7258a 100644
--- a/Zotlabs/Lib/System.php
+++ b/Zotlabs/Lib/System.php
@@ -61,6 +61,13 @@ class System {
return 'pro';
}
+
+ static public function get_zot_revision() {
+ $x = [ 'revision' => ZOT_REVISION ];
+ call_hooks('zot_revision',$x)
+ return $x['revision'];
+ }
+
static public function get_std_version() {
if(defined('STD_VERSION'))
return STD_VERSION;