call_user_func( $this->importCallback, $rev );
}
}
-
+
function handleUpload( $revision ) {
if ( $this->uploads ) {
$this->uploadCount++;
// $this->report();
$this->progress( "upload: " . $revision->getFilename() );
-
+
if ( !$this->dryRun ) {
// bluuuh hack
// call_user_func( $this->uploadCallback, $revision );
array( &$this, 'handleUpload' ) );
$this->logItemCallback = $importer->setLogItemCallback(
array( &$this, 'handleLogItem' ) );
-
+
if ( $this->dryRun ) {
$importer->setPageOutCallback( null );
}