aboutsummaryrefslogtreecommitdiffstats
path: root/mod/admin.php
diff options
context:
space:
mode:
authorPaolo T <tuscanhobbit@users.noreply.github.com>2014-09-18 08:41:41 +0200
committerPaolo T <tuscanhobbit@users.noreply.github.com>2014-09-18 08:41:41 +0200
commit7da97c198182f8f6f4286e16d80de205431d81bb (patch)
treed03c22c98fa5e522fef874554be307969154c792 /mod/admin.php
parent4f793069bf4aafcfe77d50e47690173104ef23c7 (diff)
parent0b47fb9a91b58147e616ea75a23dea0d431c40f8 (diff)
downloadvolse-hubzilla-7da97c198182f8f6f4286e16d80de205431d81bb.tar.gz
volse-hubzilla-7da97c198182f8f6f4286e16d80de205431d81bb.tar.bz2
volse-hubzilla-7da97c198182f8f6f4286e16d80de205431d81bb.zip
Merge pull request #3 from friendica/master
Merge from upstream
Diffstat (limited to 'mod/admin.php')
-rw-r--r--mod/admin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/admin.php b/mod/admin.php
index 836b12281..68ce6fe85 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -768,7 +768,7 @@ function admin_page_channels_post(&$a){
);
proc_run('php','include/directory.php',$uid,'nopush');
}
- notice( sprintf( tt("%s channel censored/uncensored", "%s channelss censored/uncensored", count($channels)), count($channels)) );
+ notice( sprintf( tt("%s channel censored/uncensored", "%s channels censored/uncensored", count($channels)), count($channels)) );
}
if (x($_POST,'page_channels_delete')){
require_once("include/Contact.php");
@@ -814,6 +814,7 @@ function admin_page_channels(&$a){
intval(PAGE_CENSORED),
intval( $uid )
);
+ proc_run('php','include/directory.php',$uid,'nopush');
notice( sprintf( (($channel[0]['channel_pageflags'] & PAGE_CENSORED) ? t("Channel '%s' uncensored"): t("Channel '%s' censored")) , $channel[0]['channel_name'] . ' (' . $channel[0]['channel_address'] . ')' ) . EOL);
}; break;