From d91a82430ad4ea9def4f0c033df4be34cb26d42e Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 25 Sep 2017 20:11:21 -0700 Subject: more zot6 basic stuff --- Zotlabs/Lib/System.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Zotlabs') 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; -- cgit v1.2.3