You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2012/02/29 22:02:14 UTC

svn commit: r1295271 - /incubator/vcl/trunk/web/.ht-inc/conf-default.php

Author: jfthomps
Date: Wed Feb 29 21:02:13 2012
New Revision: 1295271

URL: http://svn.apache.org/viewvc?rev=1295271&view=rev
Log:
changed return value for $addUserFunc and $updateUserFunc functions for local types from 0 to NULL to match what is returned by LDAP functions

Modified:
    incubator/vcl/trunk/web/.ht-inc/conf-default.php

Modified: incubator/vcl/trunk/web/.ht-inc/conf-default.php
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/conf-default.php?rev=1295271&r1=1295270&r2=1295271&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/conf-default.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/conf-default.php Wed Feb 29 21:02:13 2012
@@ -146,8 +146,8 @@ foreach($authMechs as $key => $item) {
 	}
 	elseif($item['type'] == 'local') {
 		$affilValFunc[$item['affiliationid']] = create_function('', 'return 0;');
-		$addUserFunc[$item['affiliationid']] = create_function('', 'return 0;');
-		$updateUserFunc[$item['affiliationid']] = create_function('', 'return 0;');
+		$addUserFunc[$item['affiliationid']] = create_function('', 'return NULL;');
+		$updateUserFunc[$item['affiliationid']] = create_function('', 'return NULL;');
 	}
 }
 # if adding a Shibboleth option, uncomment the following 4 lines and change '4' to match the affiliation id, create additional entries for further shibboleth affiliations