wilde: server/kolab-webadmin/kolab-webadmin/www/admin/domainmaintainer domainmaintainer.php.in, 1.4, 1.5
cvs at kolab.org
cvs at kolab.org
Wed Jan 10 17:50:45 CET 2007
Author: wilde
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/domainmaintainer
In directory doto:/tmp/cvs-serv7039/kolab-webadmin/kolab-webadmin/www/admin/domainmaintainer
Modified Files:
domainmaintainer.php.in
Log Message:
Code cleanup: moved the redundant function `checkpw' to include/passwd.php.
Index: domainmaintainer.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/domainmaintainer/domainmaintainer.php.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- domainmaintainer.php.in 10 Jan 2007 15:59:58 -0000 1.4
+++ domainmaintainer.php.in 10 Jan 2007 16:50:43 -0000 1.5
@@ -53,24 +53,6 @@
}
}
-// Check that password match
-function checkpw( $form, $key, $value ) {
- global $action;
- if( $action == "firstsave" ) {
- if( $key == 'password_0' ) {
- if( $value == '' ) return _('Password is empty');
- } else if( $key == 'password_1' ) {
- if( $value != $_POST['password_0'] ) {
- return _('Passwords dont match');
- }
- }
- } else {
- if( $value != $_POST['password_0'] ) {
- return _('Passwords dont match');
- }
- }
- return '';
-}
function fill_form_for_modify( &$form, &$ldap_object ) {
global $auth;
global $ldap;
More information about the commits
mailing list