diff options
Diffstat (limited to 'SemanticMediaWiki/includes/src/MediaWiki/Jobs/JobFactory.php')
-rw-r--r-- | SemanticMediaWiki/includes/src/MediaWiki/Jobs/JobFactory.php | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/SemanticMediaWiki/includes/src/MediaWiki/Jobs/JobFactory.php b/SemanticMediaWiki/includes/src/MediaWiki/Jobs/JobFactory.php deleted file mode 100644 index 5b262288..00000000 --- a/SemanticMediaWiki/includes/src/MediaWiki/Jobs/JobFactory.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php - -namespace SMW\MediaWiki\Jobs; - -use Title; - -/** - * Access MediaWiki Job instances - * - * @license GNU GPL v2+ - * @since 2.0 - * - * @author mwjames - */ -class JobFactory { - - /** - * @since 2.0 - * - * @param Title $title - * - * @return UpdateJob - */ - public function newUpdateJob( Title $title ) { - return new UpdateJob( $title ); - } - - /** - * @since 2.0 - * - * @param Title $title - * @param array $parameters - * - * @return UpdateDispatcherJob - */ - public function newUpdateDispatcherJob( Title $title, array $parameters = array() ) { - return new UpdateDispatcherJob( $title, $parameters ); - } - -} |