Skip to content

Commit

Permalink
Merge pull request #28237 from nextcloud/work/carl/owncloud-doc
Browse files Browse the repository at this point in the history
Remove some mentions of ownCloud from our api documentation
  • Loading branch information
LukasReschke authored Jul 29, 2021
2 parents a4097a6 + 2897056 commit 7a0b374
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions lib/private/Files/Cache/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
* The cache stores the metadata for all files and folders in a storage and is kept up to date trough the following mechanisms:
*
* - Scanner: scans the storage and updates the cache where needed
* - Watcher: checks for changes made to the filesystem outside of the ownCloud instance and rescans files and folder when a change is detected
* - Updater: listens to changes made to the filesystem inside of the ownCloud instance and updates the cache where needed
* - Watcher: checks for changes made to the filesystem outside of the Nextcloud instance and rescans files and folder when a change is detected
* - Updater: listens to changes made to the filesystem inside of the Nextcloud instance and updates the cache where needed
* - ChangePropagator: updates the mtime and etags of parent folders whenever a change to the cache is made to the cache by the updater
*/
class Cache implements ICache {
Expand Down
4 changes: 2 additions & 2 deletions lib/private/Files/Storage/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,12 +316,12 @@ protected function searchInDir($query, $dir = '') {
}

/**
* check if a file or folder has been updated since $time
* Check if a file or folder has been updated since $time
*
* The method is only used to check if the cache needs to be updated. Storage backends that don't support checking
* the mtime should always return false here. As a result storage implementations that always return false expect
* exclusive access to the backend and will not pick up files that have been added in a way that circumvents
* ownClouds filesystem.
* Nextcloud filesystem.
*
* @param string $path
* @param int $time
Expand Down
2 changes: 1 addition & 1 deletion lib/private/IntegrityCheck/Helpers/AppLocator.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/**
* Class AppLocator provides a non-static helper for OC_App::getPath($appId)
* it is not possible to use IAppManager at this point as IAppManager has a
* dependency on a running ownCloud.
* dependency on a running Nextcloud.
*
* @package OC\IntegrityCheck\Helpers
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

/**
* Class EmptyContentSecurityPolicy is a simple helper which allows applications
* to modify the Content-Security-Policy sent by ownCloud. Per default the policy
* to modify the Content-Security-Policy sent by Nexcloud. Per default the policy
* is forbidding everything.
*
* As alternative with sane exemptions look at ContentSecurityPolicy
Expand Down
6 changes: 3 additions & 3 deletions lib/public/Files/Cache/ICache.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
* The cache stores the metadata for all files and folders in a storage and is kept up to date trough the following mechanisms:
*
* - Scanner: scans the storage and updates the cache where needed
* - Watcher: checks for changes made to the filesystem outside of the ownCloud instance and rescans files and folder when a change is detected
* - Updater: listens to changes made to the filesystem inside of the ownCloud instance and updates the cache where needed
* - Watcher: checks for changes made to the filesystem outside of the Nextcloud instance and rescans files and folder when a change is detected
* - Updater: listens to changes made to the filesystem inside of the Nextcloud instance and updates the cache where needed
* - ChangePropagator: updates the mtime and etags of parent folders whenever a change to the cache is made to the cache by the updater
*
* @since 9.0.0
Expand Down Expand Up @@ -119,7 +119,7 @@ public function update($id, array $data);
/**
* get the file id for a file
*
* A file id is a numeric id for a file or folder that's unique within an owncloud instance which stays the same for the lifetime of a file
* A file id is a numeric id for a file or folder that's unique within an Nextcloud instance which stays the same for the lifetime of a file
*
* File ids are easiest way for apps to store references to a file since unlike paths they are not affected by renames or sharing
*
Expand Down
2 changes: 1 addition & 1 deletion lib/public/Files/Storage/IStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
// This means that they should be used by apps instead of the internal Nextcloud classes

namespace OCP\Files\Storage;

Expand Down
4 changes: 2 additions & 2 deletions lib/public/IConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
*
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
// This means that they should be used by apps instead of the internal Nextcloud classes

namespace OCP;

/**
* Access to all the configuration options ownCloud offers
* Access to all the configuration options Nextcloud offers.
* @since 6.0.0
*/
interface IConfig {
Expand Down
2 changes: 1 addition & 1 deletion lib/public/Search/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
namespace OCP\Search;

/**
* Provides a template for search functionality throughout ownCloud;
* Provides a template for search functionality throughout Nextcloud;
* @since 7.0.0
* @deprecated 20.0.0
*/
Expand Down

0 comments on commit 7a0b374

Please sign in to comment.