1
0
Fork 0

changed to this:

---------------------
function bla (App &$a) {
	$a->bla = 'stuff';
}
---------------------

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-12-20 10:58:55 +01:00
commit 4dce3d8224
121 changed files with 225 additions and 220 deletions

View file

@ -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);