]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
trim() -> trimmed()
authorEvan Prodromou <evan@status.net>
Wed, 7 Mar 2012 15:14:49 +0000 (09:14 -0600)
committerEvan Prodromou <evan@status.net>
Wed, 7 Mar 2012 15:14:49 +0000 (09:14 -0600)
train.php

index 9b6a6a746dcb417c0aacd8c5f70cc88f84cbf170..3a89c8c6bc36bf938e54295eda5333c5a7a43155 100644 (file)
--- a/train.php
+++ b/train.php
@@ -77,7 +77,7 @@ class TrainAction extends Action
             throw new ClientException(_('You cannot review spam on this site.'), 403);
         }
 
-        $id = $this->trim('notice');
+        $id = $this->trimmed('notice');
 
         $this->notice = Notice::staticGet('id', $id);
 
@@ -97,7 +97,7 @@ class TrainAction extends Action
 
         $this->filter = $filter;
 
-        $this->category = $this->trim('category');
+        $this->category = $this->trimmed('category');
 
         if ($this->category !== SpamFilter::SPAM &&
             $this->category !== SpamFilter::HAM)