Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feeds
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
feeds
Commits
30c5623d
Commit
30c5623d
authored
14 years ago
by
Alex Barth
Browse files
Options
Downloads
Patches
Plain Diff
#878528 Sutharsan: Don't show file in UI if file does not exist.
parent
5a3bc9e1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.txt
+1
-0
1 addition, 0 deletions
CHANGELOG.txt
plugins/FeedsFileFetcher.inc
+1
-1
1 addition, 1 deletion
plugins/FeedsFileFetcher.inc
with
2 additions
and
1 deletion
CHANGELOG.txt
+
1
−
0
View file @
30c5623d
...
...
@@ -3,6 +3,7 @@
Feeds 6.x 1.0 XXXXXXXXXXXXXXXXXX
--------------------------------
- #878528 Sutharsan: Don't show file in UI if file does not exist.
- #901798 alex_b: Fix time off in SitemapParser.
- #885724 eliotttf: Avoid array_flip() on non scalars.
- #885052 Hanno: Fix small typo in access rights.
...
...
This diff is collapsed.
Click to expand it.
plugins/FeedsFileFetcher.inc
+
1
−
1
View file @
30c5623d
...
...
@@ -57,7 +57,7 @@ class FeedsFileFetcher extends FeedsFetcher {
*/
public
function
sourceForm
(
$source_config
)
{
$form
=
$info
=
array
();
if
(
!
empty
(
$source_config
[
'source'
]))
{
if
(
!
empty
(
$source_config
[
'source'
])
&&
file_exists
(
$source_config
[
'source'
])
)
{
$info
=
array
(
'path'
=>
$source_config
[
'source'
],
'size'
=>
filesize
(
realpath
(
$source_config
[
'source'
])),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment