reaplced the git service code (main gitbackendinterface()) with a new
[gwvp.git] / gwvplib / gwvpinputcheck.php
index 59de285..5b16154 100644 (file)
@@ -9,4 +9,16 @@ function gwvp_checkEmail($email)
        else return true;
 }
 
+// TODO: need to write this
+function gwvp_stripDescription($desc)
+{
+       // this doesnt work yet
+       //$match = preg_replace("/^[a-zA-Z0-9\+]+@[a-zA-Z0-9\.]+$/", $email);
+       
+       //if($match != 1) return false;
+       //else return true;
+       
+       return $desc;
+}
+
 ?>
\ No newline at end of file