mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-12-01 07:37:18 +01:00
Fix some regresions
This commit is contained in:
@@ -94,7 +94,7 @@ class SettingsController extends Controller {
|
||||
|
||||
switch ($type) {
|
||||
case SettingsService::COLOR_FOR_NEW_NOTES_KEY:
|
||||
$value = $this->settingsService->getColorForNewNotes($this->userId);
|
||||
$value = $this->settingsService->getColorForNewNotes();
|
||||
break;
|
||||
default:
|
||||
$status = self::STATE_FALSE;
|
||||
|
||||
@@ -31,6 +31,7 @@ use OCP\IRequest;
|
||||
use OCA\QuickNotes\Db\NoteShare;
|
||||
use OCA\QuickNotes\Db\NoteShareMapper;
|
||||
|
||||
use OCP\AppFramework\Db\DoesNotExistException;
|
||||
|
||||
class ShareController extends Controller {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user