TransactionLogController::importPendingEnvelopes should not be static.

skala
Marco Villegas 12 years ago
parent 54ff2e4a66
commit 8b29aa347e
  1. 2
      src/ChamiloLMS/Transaction/TransactionLogController.php

@ -172,7 +172,7 @@ class TransactionLogController
* An array keyed by received envelope id containing an array transaction * An array keyed by received envelope id containing an array transaction
* ids added based on that received envelope. * ids added based on that received envelope.
*/ */
public static function importPendingEnvelopes($limit = 0) { public function importPendingEnvelopes($limit = 0) {
$table = Database::get_main_table(TABLE_RECEIVED_ENVELOPES); $table = Database::get_main_table(TABLE_RECEIVED_ENVELOPES);
$log_entry = array('log_type' => self::LOG_IMPORT_TO_TX_QUEUE); $log_entry = array('log_type' => self::LOG_IMPORT_TO_TX_QUEUE);
// Sadly limit clause is not supported by Database::select(). // Sadly limit clause is not supported by Database::select().

Loading…
Cancel
Save