From: Leberwurscht Date: Tue, 17 Apr 2012 22:32:04 +0000 (+0200) Subject: jappixmini: prepare for safe updates of the addon X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=61eb1f0d187f639b623b478381973ef93d14f90d;p=friendica-addons.git jappixmini: prepare for safe updates of the addon --- diff --git a/jappixmini/jappixmini.php b/jappixmini/jappixmini.php index d09427e7..6ce7d741 100644 --- a/jappixmini/jappixmini.php +++ b/jappixmini/jappixmini.php @@ -80,7 +80,11 @@ if (!$info_text) set_config("jappixmini", "infotext", ); $bosh_proxy = get_config("jappixmini", "bosh_proxy"); -if ($bosh_proxy==="") set_config("jappixmini", "bosh_proxy", 1); +if ($bosh_proxy==="") set_config("jappixmini", "bosh_proxy", "1"); + +// set addon version so that safe updates are possible later +$addon_version = get_config("jappixmini", "version"); +if ($addon_version==="") set_config("jappixmini", "version", "1"); }