Mercurial > hg > mlmmj
changeset 770:b9b60f3dd694
Changes to indentation in php-admin and php-user
author | Ben Schmidt |
---|---|
date | Fri, 29 Oct 2010 22:25:56 +1100 |
parents | fc5892d87716 |
children | 5bab557020a6 |
files | contrib/web/php-admin/htdocs/edit.php contrib/web/php-admin/htdocs/save.php |
diffstat | 2 files changed, 20 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/web/php-admin/htdocs/save.php Fri Oct 29 22:13:47 2010 +1100 +++ b/contrib/web/php-admin/htdocs/save.php Fri Oct 29 22:25:56 2010 +1100 @@ -42,9 +42,10 @@ if (!chmod($file, 0644)) die("Couldn't chmod ".$file); } - else + else { @unlink($file); } +} function mlmmj_string ($name, $nicename, $text) { @@ -68,8 +69,9 @@ if (!chmod($file, 0644)) die("Couldn't chmod ".$file); } - else + else { @unlink($file); + } }