From 9abd95fad3784a10fc48bc40f9b8a75d7d74edda Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 31 Mar 2016 16:06:03 -0700 Subject: static App --- mod/locs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/locs.php') diff --git a/mod/locs.php b/mod/locs.php index 8452f62d1..1daf41b89 100644 --- a/mod/locs.php +++ b/mod/locs.php @@ -6,7 +6,7 @@ function locs_post(&$a) { if(! local_channel()) return; - $channel = $a->get_channel(); + $channel = App::get_channel(); if($_REQUEST['primary']) { $hubloc_id = intval($_REQUEST['primary']); @@ -84,7 +84,7 @@ function locs_content(&$a) { return; } - $channel = $a->get_channel(); + $channel = App::get_channel(); if($_REQUEST['sync']) { proc_run('php','include/notifier.php','location',$channel['channel_id']); -- cgit v1.2.3