|
|
@@ -298,10 +298,7 @@ void ShareModel::initShareManager()
|
|
|
}
|
|
|
|
|
|
bool sharingPossible = true;
|
|
|
- if (!publicLinkSharesEnabled()) {
|
|
|
- qCWarning(lcSharing) << "Link shares have been disabled";
|
|
|
- sharingPossible = false;
|
|
|
- } else if (!canShare()) {
|
|
|
+ if (!canShare()) {
|
|
|
qCWarning(lcSharing) << "The file cannot be shared because it does not have sharing permission.";
|
|
|
sharingPossible = false;
|
|
|
}
|