Revision: 549
http://gemstracker.svn.sourceforge.net/gemstracker/?rev=549&view=rev
Author: mennodekker
Date: 2012-03-13 12:07:27 +0000 (Tue, 13 Mar 2012)
Log Message:
-----------
A little cleanup
Modified Paths:
--------------
trunk/library/classes/Gems/Tracker/Source/LimeSurvey1m9Database.php
trunk/library/classes/Gems/Tracker/Source/SourceAbstract.php
trunk/library/classes/Gems/Tracker/Source/SourceInterface.php
Modified: trunk/library/classes/Gems/Tracker/Source/LimeSurvey1m9Database.php
===================================================================
--- trunk/library/classes/Gems/Tracker/Source/LimeSurvey1m9Database.php 2012-03-12 15:22:59 UTC (rev 548)
+++ trunk/library/classes/Gems/Tracker/Source/LimeSurvey1m9Database.php 2012-03-13 12:07:27 UTC (rev 549)
@@ -1073,10 +1073,9 @@
* Updates the gems database with the latest information about the surveys in this source adapter
*
* @param int $userId Id of the user who takes the action (for logging)
- * @param bool $updateTokens Wether the tokens should be updated or not, default is true
* @return array Returns an array of messages
*/
- public function synchronizeSurveys($userId, $updateTokens = true)
+ public function synchronizeSurveys($userId)
{
// Surveys in LS
$lsDb = $this->getSourceDatabase();
Modified: trunk/library/classes/Gems/Tracker/Source/SourceAbstract.php
===================================================================
--- trunk/library/classes/Gems/Tracker/Source/SourceAbstract.php 2012-03-12 15:22:59 UTC (rev 548)
+++ trunk/library/classes/Gems/Tracker/Source/SourceAbstract.php 2012-03-13 12:07:27 UTC (rev 549)
@@ -230,21 +230,7 @@
}
/**
- * Add the commands to update this source to a source synchornization batch
*
- * @param Gems_Tracker_Batch_SynchronizeSourcesBatch $batch
- * @param int $userId Id of the user who takes the action (for logging)
- */
- public function addSynchronizeSurveyCommands(Gems_Tracker_Batch_SynchronizeSourcesBatch $batch, $userId)
- {
- // Do nothing or add the old method is the default
- if (method_exists($this, 'synchronizeSurveys')) {
- $batch->addSourceFunction('synchronizeSurveys', $userId);
- }
- }
-
- /**
- *
* @return string Base url for source
*/
protected function getBaseUrl()
Modified: trunk/library/classes/Gems/Tracker/Source/SourceInterface.php
===================================================================
--- trunk/library/classes/Gems/Tracker/Source/SourceInterface.php 2012-03-12 15:22:59 UTC (rev 548)
+++ trunk/library/classes/Gems/Tracker/Source/SourceInterface.php 2012-03-13 12:07:27 UTC (rev 549)
@@ -276,10 +276,9 @@
* Updates the gems database with the latest information about the surveys in this source adapter
*
* @param int $userId Id of the user who takes the action (for logging)
- * @param bool $updateTokens Wether the tokens should be updated or not, default is true
* @return array Returns an array of messages
*/
- public function synchronizeSurveys($userId, $updateTokens = true);
+ public function synchronizeSurveys($userId);
/**
* Updates the consent code of the the token in the source (if needed)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|