aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-07-16 05:56:52 +0200
committerkondou <kondou@ts.unde.re>2013-07-16 06:01:26 +0200
commitd9c697534d736e7165114a2f250f9ed9527dcf26 (patch)
tree9bf2aa98a88dbacb7913fddac0a49e31a23db6d8 /lib
parentf2639d62692b9cd25adff137fa65954fc3b5a794 (diff)
downloadnextcloud-server-d9c697534d736e7165114a2f250f9ed9527dcf26.tar.gz
nextcloud-server-d9c697534d736e7165114a2f250f9ed9527dcf26.zip
Fix some typos
Diffstat (limited to 'lib')
-rw-r--r--lib/app.php8
-rw-r--r--lib/archive.php6
-rw-r--r--lib/archive/tar.php2
-rw-r--r--lib/archive/zip.php2
-rw-r--r--lib/files/cache/updater.php4
-rw-r--r--lib/files/filesystem.php4
-rw-r--r--lib/preferences.php2
7 files changed, 14 insertions, 14 deletions
diff --git a/lib/app.php b/lib/app.php
index f9b1c5ca7b5..baacf508d8e 100644
--- a/lib/app.php
+++ b/lib/app.php
@@ -424,7 +424,7 @@ class OC_App{
return $navigation;
}
- /// This is private as well. It simply works, so don't ask for more details
+ // This is private as well. It simply works, so don't ask for more details
private static function proceedNavigation( $list ) {
foreach( $list as &$naventry ) {
if( $naventry['id'] == self::$activeapp ) {
@@ -473,7 +473,7 @@ class OC_App{
}
/**
* Get the directory for the given app.
- * If the app is defined in multiple directory, the first one is taken. (false if not found)
+ * If the app is defined in multiple directories, the first one is taken. (false if not found)
*/
public static function getAppPath($appid) {
if( ($dir = self::findAppInDirectories($appid)) != false) {
@@ -484,7 +484,7 @@ class OC_App{
/**
* Get the path for the given app on the access
- * If the app is defined in multiple directory, the first one is taken. (false if not found)
+ * If the app is defined in multiple directories, the first one is taken. (false if not found)
*/
public static function getAppWebPath($appid) {
if( ($dir = self::findAppInDirectories($appid)) != false) {
@@ -818,7 +818,7 @@ class OC_App{
}
/**
- * check if the app need updating and update when needed
+ * check if the app needs updating and update when needed
*/
public static function checkUpgrade($app) {
if (in_array($app, self::$checkedApps)) {
diff --git a/lib/archive.php b/lib/archive.php
index 61239c82076..70615db714e 100644
--- a/lib/archive.php
+++ b/lib/archive.php
@@ -8,7 +8,7 @@
abstract class OC_Archive{
/**
- * open any of the supporeted archive types
+ * open any of the supported archive types
* @param string path
* @return OC_Archive
*/
@@ -69,7 +69,7 @@ abstract class OC_Archive{
*/
abstract function getFolder($path);
/**
- *get all files in the archive
+ * get all files in the archive
* @return array
*/
abstract function getFiles();
@@ -113,7 +113,7 @@ abstract class OC_Archive{
*/
abstract function getStream($path, $mode);
/**
- * add a folder and all it's content
+ * add a folder and all its content
* @param string $path
* @param string source
* @return bool
diff --git a/lib/archive/tar.php b/lib/archive/tar.php
index e7c81389619..a1c0535b1c3 100644
--- a/lib/archive/tar.php
+++ b/lib/archive/tar.php
@@ -182,7 +182,7 @@ class OC_Archive_TAR extends OC_Archive{
return $folderContent;
}
/**
- *get all files in the archive
+ * get all files in the archive
* @return array
*/
function getFiles() {
diff --git a/lib/archive/zip.php b/lib/archive/zip.php
index 8e31795ded1..8a866716a79 100644
--- a/lib/archive/zip.php
+++ b/lib/archive/zip.php
@@ -94,7 +94,7 @@ class OC_Archive_ZIP extends OC_Archive{
return $folderContent;
}
/**
- *get all files in the archive
+ * get all files in the archive
* @return array
*/
function getFiles() {
diff --git a/lib/files/cache/updater.php b/lib/files/cache/updater.php
index 87c33a313a4..1f30173a8f8 100644
--- a/lib/files/cache/updater.php
+++ b/lib/files/cache/updater.php
@@ -26,7 +26,7 @@ class Updater {
}
/**
- * preform a write update
+ * perform a write update
*
* @param string $path the relative path of the file
*/
@@ -46,7 +46,7 @@ class Updater {
}
/**
- * preform a delete update
+ * perform a delete update
*
* @param string $path the relative path of the file
*/
diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php
index 3d7d5abf8fe..1bf7270c7f1 100644
--- a/lib/files/filesystem.php
+++ b/lib/files/filesystem.php
@@ -8,7 +8,7 @@
/**
* 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 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:
@@ -717,7 +717,7 @@ class Filesystem {
/**
* Get the path of a file by id
*
- * Note that the resulting path is not guarantied to be unique for the id, multiple paths can point to the same file
+ * Note that the resulting path is not guaranteed to be unique for the id, multiple paths can point to the same file
*
* @param int $id
* @return string
diff --git a/lib/preferences.php b/lib/preferences.php
index 5f6434bcf9c..11ca760830e 100644
--- a/lib/preferences.php
+++ b/lib/preferences.php
@@ -59,7 +59,7 @@ class OC_Preferences{
}
/**
- * @brief Get all apps of a user
+ * @brief Get all apps of an user
* @param string $user user
* @return array with app ids
*