Revert "Coding convention applied - part 1"

This commit is contained in:
Hypolite Petovan
2017-03-21 12:02:59 -04:00
committed by GitHub
parent 9c2c483996
commit 7b352f3f74
181 changed files with 3507 additions and 4338 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 = '';