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
0096d4b6
Commit
0096d4b6
authored
15 years ago
by
Alex Barth
Browse files
Options
Downloads
Patches
Plain Diff
Use Drupal core naming convention for interfaces.
parent
e2b9b687
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
includes/FeedsScheduler.inc
+7
-7
7 additions, 7 deletions
includes/FeedsScheduler.inc
with
7 additions
and
7 deletions
includes/FeedsScheduler.inc
+
7
−
7
View file @
0096d4b6
...
...
@@ -9,7 +9,7 @@
/**
* Describe a scheduler.
*/
interface
I
FeedsScheduler
{
interface
FeedsScheduler
Interface
{
/**
* Run Drupal cron.
...
...
@@ -48,7 +48,7 @@ interface IFeedsScheduler {
}
/**
* Implementation of
I
FeedsScheduler.
* Implementation of FeedsScheduler
Interface
.
*
* This scheduler uses the last_scheduled_time paradigm: By storing the time
* when a particular feed was scheduled to be refreshed last rather than
...
...
@@ -59,7 +59,7 @@ interface IFeedsScheduler {
* 2) The time between refreshes will always be scheduled based on when it
* has been scheduled last. Less drift occurs.
*/
class
FeedsScheduler
implements
I
FeedsScheduler
{
class
FeedsScheduler
implements
FeedsScheduler
Interface
{
// Only used for debugging.
protected
$debugTime
;
...
...
@@ -82,7 +82,7 @@ class FeedsScheduler implements IFeedsScheduler {
protected
function
__construct
()
{}
/**
* Implementation of
I
FeedsScheduler::cron().
* Implementation of FeedsScheduler
Interface
::cron().
*
* Refreshes scheduled feeds.
*
...
...
@@ -158,7 +158,7 @@ class FeedsScheduler implements IFeedsScheduler {
}
/**
* Implementation of
I
FeedsScheduler::add().
* Implementation of FeedsScheduler
Interface
::add().
*
* Add a feed to the scheduler.
*
...
...
@@ -181,14 +181,14 @@ class FeedsScheduler implements IFeedsScheduler {
}
/**
* Implementation of
I
FeedsScheduler::remove().
* Implementation of FeedsScheduler
Interface
::remove().
*/
public
function
remove
(
$importer_id
,
$callback
,
$feed_nid
=
0
)
{
db_query
(
'DELETE FROM {feeds_schedule} WHERE id = "%s" AND callback = "%s" AND feed_nid = %d'
,
$importer_id
,
$callback
,
$feed_nid
);
}
/**
* Implementation of
I
FeedsScheduler::work().
* Implementation of FeedsScheduler
Interface
::work().
*
* Refresh a feed.
*
...
...
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