|
From: <axe...@us...> - 2009-10-05 15:52:19
|
Revision: 98
http://wpmu-ldap.svn.sourceforge.net/wpmu-ldap/?rev=98&view=rev
Author: axelseaa
Date: 2009-10-05 15:52:11 +0000 (Mon, 05 Oct 2009)
Log Message:
-----------
moved test connection function - will fix errors if running test connection on initial setup
Modified Paths:
--------------
trunk/ldap/lib/wpmu_ldap.functions.php
trunk/ldap/lib/wpmu_ldap_admin.functions.php
Modified: trunk/ldap/lib/wpmu_ldap.functions.php
===================================================================
--- trunk/ldap/lib/wpmu_ldap.functions.php 2009-09-03 03:52:27 UTC (rev 97)
+++ trunk/ldap/lib/wpmu_ldap.functions.php 2009-10-05 15:52:11 UTC (rev 98)
@@ -266,14 +266,6 @@
}
}
-function wpmuLdapTestConnection() {
- $server = new LDAP_ro(wpmuSetupLdapOptions());
- $server->DebugOff();
- $result = $server->testConnect();
- $server->Disconnect();
- return $result;
-}
-
/**
* Checks to make sure the user is added to the dashboard blog (if set) or else blog #1
*/
Modified: trunk/ldap/lib/wpmu_ldap_admin.functions.php
===================================================================
--- trunk/ldap/lib/wpmu_ldap_admin.functions.php 2009-09-03 03:52:27 UTC (rev 97)
+++ trunk/ldap/lib/wpmu_ldap_admin.functions.php 2009-10-05 15:52:11 UTC (rev 98)
@@ -767,3 +767,14 @@
unset($submenu['users.php'][10]);
}
+/**
+* Connection Test Function
+*/
+function wpmuLdapTestConnection() {
+ $server = new LDAP_ro(wpmuSetupLdapOptions());
+ $server->DebugOff();
+ $result = $server->testConnect();
+ $server->Disconnect();
+ return $result;
+}
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|