The branch, master has been updated via 2cc790bad2e9a0024ff70dca4c6e7c32c1d832f7 (commit) from c44b0eacec4e95f0581f1459ed444613548e3019 (commit)
- Log ----------------------------------------------------------------- commit 2cc790bad2e9a0024ff70dca4c6e7c32c1d832f7 Author: Michal Čihař mcihar@suse.cz Date: Mon Jul 25 14:34:44 2011 +0200
Coding style
-----------------------------------------------------------------------
Summary of changes: libraries/sanitizing.lib.php | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/libraries/sanitizing.lib.php b/libraries/sanitizing.lib.php index 604ed62..6c7ec45 100644 --- a/libraries/sanitizing.lib.php +++ b/libraries/sanitizing.lib.php @@ -13,7 +13,8 @@ * * @return boolean True if string can be used as link. */ -function PMA_check_link($url) { +function PMA_check_link($url) +{ if (substr($url, 0, 7) == 'http://') { return true; } elseif (substr($url, 0, 8) == 'https://') { @@ -33,7 +34,8 @@ function PMA_check_link($url) { * * @return string Replaced string */ -function PMA_replace_bb_link($found) { +function PMA_replace_bb_link($found) +{ /* Check for valid link */ if (! PMA_check_link($found[1])) { return $found[0];
hooks/post-receive