Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
5376b0b1
Commit
5376b0b1
authored
Jan 26, 2015
by
Vincent Petry
Browse files
Add back exit()
parent
87ce64c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/files_sharing/ajax/external.php
View file @
5376b0b1
...
...
@@ -77,7 +77,7 @@ if (substr($remote, 0, 5) === 'https' and !OC_Util::getUrlContent($remote)) {
);
$externalManager
->
removeShare
(
$mount
->
getMountPoint
());
\
OCP\JSON
::
error
(
array
(
'data'
=>
array
(
'message'
=>
$l
->
t
(
'Storage not valid'
))));
throw
new
\
OCP\Files\StorageNotAvailableException
(
get_class
(
$e
)
.
': '
.
$e
->
getMessage
()
);
exit
(
);
}
$result
=
$storage
->
file_exists
(
''
);
if
(
$result
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment