[Pkg-owncloud-commits] [owncloud] 19/107: Dont output paths in scan.php

David Prévot taffit at moszumanska.debian.org
Thu Dec 17 19:40:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 703b6d1803d776122ec0604cf0f3ab807033206e
Author: Robin Appelman <icewind at owncloud.com>
Date:   Wed Nov 25 15:21:01 2015 +0100

    Dont output paths in scan.php
---
 apps/files/ajax/scan.php | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/apps/files/ajax/scan.php b/apps/files/ajax/scan.php
index 491adaa..759f2d1 100644
--- a/apps/files/ajax/scan.php
+++ b/apps/files/ajax/scan.php
@@ -49,7 +49,6 @@ foreach ($users as $user) {
 	$eventSource->send('user', $user);
 	$scanner = new \OC\Files\Utils\Scanner($user, \OC::$server->getDatabaseConnection());
 	$scanner->listen('\OC\Files\Utils\Scanner', 'scanFile', array($listener, 'file'));
-	$scanner->listen('\OC\Files\Utils\Scanner', 'scanFolder', array($listener, 'folder'));
 	try {
 		if ($force) {
 			$scanner->scan($dir);
@@ -81,13 +80,6 @@ class ScanListener {
 		$this->eventSource = $eventSource;
 	}
 
-	/**
-	 * @param string $path
-	 */
-	public function folder($path) {
-		$this->eventSource->send('folder', $path);
-	}
-
 	public function file() {
 		$this->fileCount++;
 		if ($this->fileCount > $this->lastCount + 20) { //send a count update every 20 files

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list