Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
532e1271
Commit
532e1271
authored
Jul 07, 2015
by
Florian Schaal
Browse files
update sql-query to new format
parent
1bed1901
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/lib/classes/cron.d/600-purge_mailboxes.inc.php
View file @
532e1271
...
...
@@ -53,8 +53,8 @@ class cronjob_purge_mailboxes extends cronjob {
public
function
onRunJob
()
{
global
$app
,
$conf
;
$sql
=
"SELECT email FROM mail_user WHERE maildir_format = 'mdbox' AND server_id = "
.
$server_id
;
$records
=
$app
->
db
->
queryAllRecords
(
$sql
);
$sql
=
"SELECT email FROM mail_user WHERE maildir_format = 'mdbox' AND server_id =
?
"
;
$records
=
$app
->
db
->
queryAllRecords
(
$sql
,
$server_id
);
if
(
is_array
(
$records
))
{
foreach
(
$records
as
$rec
){
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment