Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
4589c9c5
Commit
4589c9c5
authored
Dec 24, 2001
by
Dries
Browse files
- Small improvement.
parent
c5bb7c3e
Changes
3
Hide whitespace changes
Inline
Side-by-side
modules/aggregator.module
View file @
4589c9c5
...
...
@@ -218,7 +218,7 @@ function import_refresh($feed) {
$items
[]
=
"iid = '
$item->iid
'"
;
}
if
(
$items
)
{
if
(
sizeof
(
$items
)
>
50
)
{
db_query
(
"DELETE FROM item WHERE "
.
implode
(
" OR "
,
array_slice
(
$items
,
0
,
-
50
)));
}
...
...
modules/aggregator/aggregator.module
View file @
4589c9c5
...
...
@@ -218,7 +218,7 @@ function import_refresh($feed) {
$items
[]
=
"iid = '
$item->iid
'"
;
}
if
(
$items
)
{
if
(
sizeof
(
$items
)
>
50
)
{
db_query
(
"DELETE FROM item WHERE "
.
implode
(
" OR "
,
array_slice
(
$items
,
0
,
-
50
)));
}
...
...
modules/import.module
View file @
4589c9c5
...
...
@@ -218,7 +218,7 @@ function import_refresh($feed) {
$items
[]
=
"iid = '
$item->iid
'"
;
}
if
(
$items
)
{
if
(
sizeof
(
$items
)
>
50
)
{
db_query
(
"DELETE FROM item WHERE "
.
implode
(
" OR "
,
array_slice
(
$items
,
0
,
-
50
)));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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