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
38d6ee8f
Commit
38d6ee8f
authored
11 years ago
by
lyricnz
Committed by
Chris Leppanen
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue #1222750 by Brandonian, twistor, lyricnz: Added SimplePie 1.3 support.
parent
004f03c1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
feeds.module
+10
-2
10 additions, 2 deletions
feeds.module
with
10 additions
and
2 deletions
feeds.module
+
10
−
2
View file @
38d6ee8f
...
@@ -1039,7 +1039,9 @@ function feeds_library_exists($file, $library) {
...
@@ -1039,7 +1039,9 @@ function feeds_library_exists($file, $library) {
* Checks whether simplepie exists.
* Checks whether simplepie exists.
*/
*/
function
feeds_simplepie_exists
()
{
function
feeds_simplepie_exists
()
{
return
(
feeds_library_exists
(
'simplepie.compiled.php'
,
'simplepie'
)
||
return
(
feeds_library_exists
(
'autoloader.php'
,
'simplepie'
)
||
feeds_library_exists
(
'simplepie.compiled.php'
,
'simplepie'
)
||
feeds_library_exists
(
'simplepie.mini.php'
,
'simplepie'
)
||
feeds_library_exists
(
'simplepie.mini.php'
,
'simplepie'
)
||
feeds_library_exists
(
'simplepie.inc'
,
'simplepie'
)
feeds_library_exists
(
'simplepie.inc'
,
'simplepie'
)
);
);
...
@@ -1049,13 +1051,19 @@ function feeds_simplepie_exists() {
...
@@ -1049,13 +1051,19 @@ function feeds_simplepie_exists() {
* Includes the simplepie library.
* Includes the simplepie library.
*/
*/
function
feeds_include_simplepie
()
{
function
feeds_include_simplepie
()
{
$files
=
array
(
'simplepie.mini.php'
,
'simplepie.compiled.php'
,
'simplepie.inc'
);
$files
=
array
(
'autoloader.php'
,
'simplepie.mini.php'
,
'simplepie.compiled.php'
,
'simplepie.inc'
,
);
foreach
(
$files
as
$file
)
{
foreach
(
$files
as
$file
)
{
if
(
feeds_include_library
(
$file
,
'simplepie'
))
{
if
(
feeds_include_library
(
$file
,
'simplepie'
))
{
return
TRUE
;
return
TRUE
;
}
}
}
}
return
FALSE
;
return
FALSE
;
}
}
...
...
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