mlmmj

changeset 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 diff
     1.1 --- a/contrib/web/php-admin/htdocs/save.php	Fri Oct 29 22:13:47 2010 +1100
     1.2 +++ b/contrib/web/php-admin/htdocs/save.php	Fri Oct 29 22:25:56 2010 +1100
     1.3 @@ -42,9 +42,10 @@
     1.4  	if (!chmod($file, 0644))
     1.5  	    die("Couldn't chmod ".$file);
     1.6      }
     1.7 -    else
     1.8 +    else {
     1.9  	@unlink($file);
    1.10  }
    1.11 +}
    1.12  
    1.13  function mlmmj_string ($name, $nicename, $text) 
    1.14  {
    1.15 @@ -68,8 +69,9 @@
    1.16  	if (!chmod($file, 0644))
    1.17  	    die("Couldn't chmod ".$file);
    1.18      }
    1.19 -    else
    1.20 +    else {
    1.21  	@unlink($file);
    1.22 +    }
    1.23      
    1.24  }
    1.25