From 9abd95fad3784a10fc48bc40f9b8a75d7d74edda Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 31 Mar 2016 16:06:03 -0700 Subject: static App --- mod/prate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/prate.php') diff --git a/mod/prate.php b/mod/prate.php index b89d16f42..2da6855dd 100644 --- a/mod/prate.php +++ b/mod/prate.php @@ -7,7 +7,7 @@ function prate_init(&$a) { if(! local_channel()) return; - $channel = $a->get_channel(); + $channel = App::get_channel(); $target = argv(1); if(! $target) @@ -27,7 +27,7 @@ function prate_post(&$a) { if(! local_channel()) return; - $channel = $a->get_channel(); + $channel = App::get_channel(); $target = trim($_REQUEST['target']); if(! $target) -- cgit v1.2.3