get rid of extra bits
This commit is contained in:
parent
0d7efd0256
commit
97db78d29e
@ -83,9 +83,7 @@ class AliasEditor extends SimpleExtension {
|
|||||||
}
|
}
|
||||||
else if($event->get_arg(0) == "import") {
|
else if($event->get_arg(0) == "import") {
|
||||||
if($user->is_admin()) {
|
if($user->is_admin()) {
|
||||||
print_r($_FILES);
|
|
||||||
if(count($_FILES) > 0) {
|
if(count($_FILES) > 0) {
|
||||||
global $database;
|
|
||||||
$tmp = $_FILES['alias_file']['tmp_name'];
|
$tmp = $_FILES['alias_file']['tmp_name'];
|
||||||
$contents = file_get_contents($tmp);
|
$contents = file_get_contents($tmp);
|
||||||
$this->add_alias_csv($database, $contents);
|
$this->add_alias_csv($database, $contents);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user