File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed
Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change 22
33require_once __DIR__ . "/../resources/autoload.php " ;
44
5- use UnityWebPortal \lib \{
6- UnityConfig ,
7- UnityLDAP ,
8- UnityMailer ,
9- UnitySQL ,
10- UnitySite ,
11- UnitySSO ,
12- UnityUser ,
13- UnityRedis ,
14- UnityWebhook
15- };
5+ use UnityWebPortal \lib \UnityConfig ;
6+ use UnityWebPortal \lib \UnityLDAP ;
7+ use UnityWebPortal \lib \UnityMailer ;
8+ use UnityWebPortal \lib \UnitySQL ;
9+ use UnityWebPortal \lib \UnitySite ;
10+ use UnityWebPortal \lib \UnitySSO ;
11+ use UnityWebPortal \lib \UnityUser ;
12+ use UnityWebPortal \lib \UnityRedis ;
13+ use UnityWebPortal \lib \UnityWebhook ;
1614use PHPOpenLDAPer \LDAPEntry ;
1715
1816$ options = getopt ("fu " );
2220}
2321
2422if ((!is_null ($ REDIS ->getCache ("initialized " , "" )) and (!array_key_exists ("u " , $ options )))) {
25- echo "cache is already initialized, nothing doing. use -f argument to flush cache, or -u argument to update without flush. \n" ;
23+ echo "cache is already initialized, nothing doing. " ;
24+ echo " use -f argument to flush cache, or -u argument to update without flush. " ;
2625} else {
2726 echo "updating cache... \n" ;
2827 $ user_ou = new LDAPEntry ($ LDAP ->getConn (), $ CONFIG ["ldap " ]["user_ou " ]);
You can’t perform that action at this time.
0 commit comments