Normalize App parameter declaration (mod folder, 3 out of 3)
This commit is contained in:
parent
ee39aba490
commit
a7ce601580
41 changed files with 78 additions and 78 deletions
|
|
@ -43,7 +43,7 @@ function search_saved_searches() {
|
|||
}
|
||||
|
||||
|
||||
function search_init(App &$a) {
|
||||
function search_init(App $a) {
|
||||
|
||||
$search = ((x($_GET,'search')) ? notags(trim(rawurldecode($_GET['search']))) : '');
|
||||
|
||||
|
|
@ -81,13 +81,13 @@ function search_init(App &$a) {
|
|||
|
||||
|
||||
|
||||
function search_post(App &$a) {
|
||||
function search_post(App $a) {
|
||||
if(x($_POST,'search'))
|
||||
$a->data['search'] = $_POST['search'];
|
||||
}
|
||||
|
||||
|
||||
function search_content(App &$a) {
|
||||
function search_content(App $a) {
|
||||
|
||||
if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
|
||||
notice( t('Public access denied.') . EOL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue