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
fb0ed18a43
commit
4dce3d8224
121 changed files with 225 additions and 220 deletions
|
@ -1,11 +1,12 @@
|
|||
<?php
|
||||
/**
|
||||
* View for user import
|
||||
* @TODO This file has DOS line endings!
|
||||
*/
|
||||
|
||||
require_once("include/uimport.php");
|
||||
|
||||
function uimport_post(&$a) {
|
||||
function uimport_post(App &$a) {
|
||||
switch($a->config['register_policy']) {
|
||||
case REGISTER_OPEN:
|
||||
$blocked = 0;
|
||||
|
@ -35,7 +36,7 @@ function uimport_post(&$a) {
|
|||
}
|
||||
}
|
||||
|
||||
function uimport_content(&$a) {
|
||||
function uimport_content(App &$a) {
|
||||
|
||||
if((! local_user()) && ($a->config['register_policy'] == REGISTER_CLOSED)) {
|
||||
notice("Permission denied." . EOL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue