1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-kronolith-2.2/root/etc/e-smith/db/accounts/migrate/90FreebusyDelete mezzanine_patched_smeserver-kronolith-2.2/root/etc/e-smith/db/accounts/migrate/90FreebusyDelete |
2 |
|
|
--- smeserver-kronolith-2.2/root/etc/e-smith/db/accounts/migrate/90FreebusyDelete 1969-12-31 18:00:00.000000000 -0600 |
3 |
|
|
+++ mezzanine_patched_smeserver-kronolith-2.2/root/etc/e-smith/db/accounts/migrate/90FreebusyDelete 2010-04-26 21:43:47.000000000 -0500 |
4 |
|
|
@@ -0,0 +1,12 @@ |
5 |
|
|
+{ |
6 |
|
|
+ # Remove freebusy db entry for all users. Value is now saved directly to LDAP on SME8 |
7 |
|
|
+ |
8 |
|
|
+ foreach my $account ($DB->get_all) |
9 |
|
|
+ { |
10 |
|
|
+ next unless ($account->prop('type') eq 'user'); |
11 |
|
|
+ |
12 |
|
|
+ $account->delete_prop('FreeBusy'); |
13 |
|
|
+ |
14 |
|
|
+ } |
15 |
|
|
+} |
16 |
|
|
+ |