[Pkg-owncloud-commits] [owncloud-doc] 06/36: remove expressive language
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 16:43:00 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud-doc.
commit ba1d5b271c8892f1719e9431244d7238948af4c4
Author: Morris Jobke <hey at morrisjobke.de>
Date: Tue Aug 5 08:31:09 2014 +0200
remove expressive language
---
developer_manual/app/middleware.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/developer_manual/app/middleware.rst b/developer_manual/app/middleware.rst
index 183ee5c..1a73053 100644
--- a/developer_manual/app/middleware.rst
+++ b/developer_manual/app/middleware.rst
@@ -26,10 +26,10 @@ To generate your own middleware, simply inherit from the Middleware class and ov
class CensorMiddleware extends Middleware {
/**
- * this replaces "fuck" with "****"" in the output
+ * this replaces "bad words" with "********" in the output
*/
public function beforeOutput($controller, $methodName, $output){
- return str_replace('fuck', '****', $output);
+ return str_replace('bad words', '********', $output);
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git
More information about the Pkg-owncloud-commits
mailing list