]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - _darcs/pristine/actions/deletenotice.php
replace NULL with null
[quix0rs-gnu-social.git] / _darcs / pristine / actions / deletenotice.php
index ba348c5faf4f5bf2be2cf6fc99aef8b11e9a30db..0777918d28eccb4f1050ce21f183ca7c3fce7488 100644 (file)
@@ -41,7 +41,7 @@ class DeletenoticeAction extends DeleteAction {
         return _('Delete notice');
     }
 
-    function show_form($error=NULL) {
+    function show_form($error=null) {
         $user = common_current_user();
 
         common_show_header($this->get_title(), array($this, 'show_header'), $error,
@@ -91,7 +91,7 @@ class DeletenoticeAction extends DeleteAction {
             $notice->delete();
         } else {
             if ($url) {
-                common_set_returnto(NULL);
+                common_set_returnto(null);
             } else {
                 $url = common_local_url('public');
             }