]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Remove deprecated call-by-reference. Was causing a warning on Dreamhost.
authorZach Copley <zach@status.net>
Thu, 18 Mar 2010 20:46:11 +0000 (13:46 -0700)
committerZach Copley <zach@status.net>
Thu, 18 Mar 2010 20:46:11 +0000 (13:46 -0700)
actions/sitenoticeadminpanel.php

index 3931aa9825f7482ca81ac8e9a8dec148cd51db9f..a68cc699ca5cb52cb529724e3c7637f23fc04659 100644 (file)
@@ -93,7 +93,7 @@ class SitenoticeadminpanelAction extends AdminPanelAction
         // assert(all values are valid);
         // This throws an exception on validation errors
 
-        $this->validate(&$siteNotice);
+        $this->validate($siteNotice);
 
         $config = new Config();