changed to this:
--------------------- function bla (App &$a) { $a->bla = 'stuff'; } --------------------- Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
4dce3d8224
commit
fb817b18ad
12 changed files with 24 additions and 24 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
|
||||
|
||||
function theme_content(&$a){
|
||||
function theme_content(App &$a){
|
||||
if(!local_user())
|
||||
return;
|
||||
|
||||
|
@ -31,7 +31,7 @@ function theme_content(&$a){
|
|||
$show_services, $show_friends, $show_lastusers);
|
||||
}
|
||||
|
||||
function theme_post(&$a){
|
||||
function theme_post(App &$a){
|
||||
if(! local_user())
|
||||
return;
|
||||
|
||||
|
@ -47,7 +47,7 @@ function theme_post(&$a){
|
|||
}
|
||||
|
||||
|
||||
function theme_admin(&$a){
|
||||
function theme_admin(App &$a){
|
||||
|
||||
if (!function_exists('get_vier_config'))
|
||||
return;
|
||||
|
@ -76,7 +76,7 @@ function theme_admin(&$a){
|
|||
return $o;
|
||||
}
|
||||
|
||||
function theme_admin_post(&$a){
|
||||
function theme_admin_post(App &$a){
|
||||
if (isset($_POST['vier-settings-submit'])){
|
||||
set_config('vier', 'style', $_POST['vier_style']);
|
||||
set_config('vier', 'show_pages', $_POST['vier_show_pages']);
|
||||
|
|
|
@ -13,7 +13,7 @@ require_once("include/plugin.php");
|
|||
require_once("include/socgraph.php");
|
||||
require_once("mod/proxy.php");
|
||||
|
||||
function vier_init(&$a) {
|
||||
function vier_init(App &$a) {
|
||||
|
||||
$a->theme_events_in_profile = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue