corrade-http-templates
/maleFemale/installAvatars.php/installAvatars.php |
@@ -23,22 +23,7 @@ |
## INTERNALS ## |
########################################################################### |
|
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2015 - License: GNU GPLv3 ## |
########################################################################### |
function wasKeyValueGet($key, $data) { |
return array_reduce( |
explode( |
"&", |
$data |
), |
function($o, $p) { |
$x = explode("=", $p); |
return array_shift($x) != $o ? $o : array_shift($x); |
}, |
$key |
); |
} |
require_once('vendor/was/utilities/src/formats/kvp/kvp.php'); |
|
# This constructs the command as an array of key-value pairs. |
$params = array( |
@@ -93,5 +78,3 @@ |
echo 'The following error was encountered while attempting to install the avatars notification: '.$error; |
break; |
} |
|
?> |