[Pkg-owncloud-commits] [owncloud] 30/73: fix typos + copy-paste errors in comments

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:09:03 UTC 2013


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

taffit pushed a commit to annotated tag v4.0.10
in repository owncloud.

commit ac4364040d905c8719a68bc90e9811fb4b682a5f
Author: Niko Ehrenfeuchter <gitorious at he1ix.org>
Date:   Sun Jun 3 17:53:01 2012 +0200

    fix typos + copy-paste errors in comments
---
 lib/filecache.php  |    4 ++--
 lib/filesystem.php |   20 ++++++++++----------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/lib/filecache.php b/lib/filecache.php
index 7b7a2fa..4042815 100644
--- a/lib/filecache.php
+++ b/lib/filecache.php
@@ -23,7 +23,7 @@
  * provide caching for filesystem info in the database
  *
  * not used by OC_Filesystem for reading filesystem info,
- * instread apps should use OC_FileCache::get where possible
+ * instead apps should use OC_FileCache::get where possible
  *
  * It will try to keep the data up to date but changes from outside ownCloud can invalidate the cache
  */
@@ -491,7 +491,7 @@ class OC_FileCache{
 	}
 
 	/**
-	 * called when files are deleted
+	 * called when files are renamed
 	 * @param array $params
 	 * @param string root (optional)
 	 */
diff --git a/lib/filesystem.php b/lib/filesystem.php
index 2a0c1ce..372b611 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -24,20 +24,20 @@
 
 /**
  * Class for abstraction of filesystem functions
- * This class won't call any filesystem functions for itself but but will pass them to the correct OC_Filestorage object
- * this class should also handle all the file premission related stuff
+ * This class won't call any filesystem functions for itself but will pass them to the correct OC_Filestorage object
+ * this class should also handle all the file permission related stuff
  *
  * Hooks provided:
  *   read(path)
  *   write(path, &run)
  *   post_write(path)
- *   create(path, &run) (when a file is created, both create and write will be emited in that order)
+ *   create(path, &run) (when a file is created, both create and write will be emitted in that order)
  *   post_create(path)
  *   delete(path, &run)
  *   post_delete(path)
  *   rename(oldpath,newpath, &run)
  *   post_rename(oldpath,newpath)
- *   copy(oldpath,newpath, &run) (if the newpath doesn't exists yes, copy, create and write will be emited in that order)
+ *   copy(oldpath,newpath, &run) (if the newpath doesn't exists yes, copy, create and write will be emitted in that order)
  *   post_rename(oldpath,newpath)
  *
  *   the &run parameter can be set to false to prevent the operation from occuring
@@ -59,28 +59,28 @@ class OC_Filesystem{
   const CLASSNAME = 'OC_Filesystem';
 
   /**
-   * signalname emited before file renaming
+   * signalname emitted before file renaming
    * @param oldpath
    * @param newpath
    */
   const signal_rename = 'rename';
 
   /**
-   * signal emited after file renaming
+   * signal emitted after file renaming
    * @param oldpath
    * @param newpath
    */
   const signal_post_rename = 'post_rename';
 	
   /**
-   * signal emited before file/dir creation
+   * signal emitted before file/dir creation
    * @param path
    * @param run changing this flag to false in hook handler will cancel event
    */
   const signal_create = 'create';
 
   /**
-   * signal emited after file/dir creation
+   * signal emitted after file/dir creation
    * @param path
    * @param run changing this flag to false in hook handler will cancel event
    */
@@ -371,7 +371,7 @@ class OC_Filesystem{
 	}
 	
 	/**
-	 * checks if a file is blacklsited for storage in the filesystem
+	 * checks if a file is blacklisted for storage in the filesystem
 	 * Listens to write and rename hooks
 	 * @param array $data from hook
 	 */
@@ -391,7 +391,7 @@ class OC_Filesystem{
 	}
 	
 	/**
-	 * following functions are equivilent to their php buildin equivilents for arguments/return values.
+	 * following functions are equivalent to their php builtin equivalents for arguments/return values.
 	 */
 	static public function mkdir($path){
 		return self::$defaultInstance->mkdir($path);

-- 
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