|
|
@@ -51,12 +51,21 @@ $hostingIDsObj = Capsule::table('tblhosting')
|
|
|
foreach ($hostingIDsObj as $hostingID) {
|
|
|
array_push($hostingIDs, $hostingID->id);
|
|
|
}
|
|
|
+$customfieldIDs = array();
|
|
|
+$customfieldIDsObj = Capsule::table('tblcustomfields')
|
|
|
+ ->select('id')
|
|
|
+ ->where('relid', $zmAuthPIDs)
|
|
|
+ ->where('fieldname', 'LIKE', 'username%')
|
|
|
+ ->orWhere('fieldname', 'LIKE', 'maildomain%')
|
|
|
+ ->get()
|
|
|
+ ->toArray();
|
|
|
+
|
|
|
logModuleCall(
|
|
|
'zimbrasingle',
|
|
|
__FUNCTION__,
|
|
|
$zmAuthPIDs,
|
|
|
'debug',
|
|
|
- $hostingIDs
|
|
|
+ $customfieldIDsObj
|
|
|
);
|
|
|
|
|
|
|