Revert "Coding convention applied - part 1"

This commit is contained in:
Hypolite Petovan 2017-03-21 12:02:59 -04:00 committed by GitHub
commit 7b352f3f74
181 changed files with 3519 additions and 4350 deletions

View file

@ -2,15 +2,16 @@
function pretheme_init(App $a) {
if ($_REQUEST['theme']) {
if($_REQUEST['theme']) {
$theme = $_REQUEST['theme'];
$info = get_theme_info($theme);
if ($info) {
if($info) {
// unfortunately there will be no translation for this string
$desc = $info['description'];
$version = $info['version'];
$credits = $info['credits'];
} else {
}
else {
$desc = '';
$version = '';
$credits = '';