Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
6614ea91
Commit
6614ea91
authored
9 years ago
by
Lukas Reschke
Browse files
Options
Downloads
Patches
Plain Diff
Fix some PHPDocs
Some classes included via `use` did not even exist anymore.
parent
d305412a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/files_external/lib/config.php
+5
-4
5 additions, 4 deletions
apps/files_external/lib/config.php
with
5 additions
and
4 deletions
apps/files_external/lib/config.php
+
5
−
4
View file @
6614ea91
...
@@ -33,10 +33,9 @@
...
@@ -33,10 +33,9 @@
use
phpseclib\Crypt\AES
;
use
phpseclib\Crypt\AES
;
use
\OCA\Files_External
\Appinfo\Application
;
use
\OCA\Files_External
\Appinfo\Application
;
use
\OCA\Files_External
\Lib\BackendConfig
;
use
\OCA\Files_External
\Service\BackendService
;
use
\OCA\Files_External
\Lib\Backend\LegacyBackend
;
use
\OCA\Files_External
\Lib\Backend\LegacyBackend
;
use
\OCA\Files_External
\Lib\StorageConfig
;
use
\OCA\Files_External
\Lib\StorageConfig
;
use
\OCA\Files_External
\Lib\Backend\Backend
;
/**
/**
* Class to configure mount.json globally and for users
* Class to configure mount.json globally and for users
...
@@ -75,7 +74,7 @@ class OC_Mount_Config {
...
@@ -75,7 +74,7 @@ class OC_Mount_Config {
return
true
;
return
true
;
}
}
/*
/*
*
* Hook that mounts the given user's visible mount points
* Hook that mounts the given user's visible mount points
*
*
* @param array $data
* @param array $data
...
@@ -245,6 +244,7 @@ class OC_Mount_Config {
...
@@ -245,6 +244,7 @@ class OC_Mount_Config {
* @param string $class backend class name
* @param string $class backend class name
* @param array $options backend configuration options
* @param array $options backend configuration options
* @return int see self::STATUS_*
* @return int see self::STATUS_*
* @throws Exception
*/
*/
public
static
function
getBackendStatus
(
$class
,
$options
,
$isPersonal
)
{
public
static
function
getBackendStatus
(
$class
,
$options
,
$isPersonal
)
{
if
(
self
::
$skipTest
)
{
if
(
self
::
$skipTest
)
{
...
@@ -255,6 +255,7 @@ class OC_Mount_Config {
...
@@ -255,6 +255,7 @@ class OC_Mount_Config {
}
}
if
(
class_exists
(
$class
))
{
if
(
class_exists
(
$class
))
{
try
{
try
{
/** @var \OC\Files\Storage\Common $storage */
$storage
=
new
$class
(
$options
);
$storage
=
new
$class
(
$options
);
try
{
try
{
...
@@ -322,7 +323,7 @@ class OC_Mount_Config {
...
@@ -322,7 +323,7 @@ class OC_Mount_Config {
* Get backend dependency message
* Get backend dependency message
* TODO: move into AppFramework along with templates
* TODO: move into AppFramework along with templates
*
*
* @param Backend
Config
[] $backends
* @param Backend[] $backends
* @return string
* @return string
*/
*/
public
static
function
dependencyMessage
(
$backends
)
{
public
static
function
dependencyMessage
(
$backends
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment