corrade-http-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 79  →  ?path2? @ 80
/maleFemale/installAvatars.php
@@ -22,24 +22,9 @@
###########################################################################
## INTERNALS ##
###########################################################################
 
require_once('vendor/was/utilities/src/formats/kvp/kvp.php');
###########################################################################
## 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
);
}
# This constructs the command as an array of key-value pairs.
$params = array(
'command' => 'notify',
@@ -93,5 +78,3 @@
echo 'The following error was encountered while attempting to install the avatars notification: '.$error;
break;
}
?>