From f0c09b374c6577f8c3785b2dfe6c3cbba2bf2041 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 4 May 2022 18:46:45 +0000 Subject: move cards to addon --- Zotlabs/Widget/Notes.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Zotlabs/Widget/Notes.php') diff --git a/Zotlabs/Widget/Notes.php b/Zotlabs/Widget/Notes.php index 2e8e04e93..c9d08c6b7 100644 --- a/Zotlabs/Widget/Notes.php +++ b/Zotlabs/Widget/Notes.php @@ -10,6 +10,7 @@ namespace Zotlabs\Widget; +use App; use Zotlabs\Lib\Apps; class Notes { @@ -18,6 +19,9 @@ class Notes { if(! local_channel()) return EMPTY_STR; + if(App::$profile_uid !== local_channel()) + return EMPTY_STR; + if(! Apps::system_app_installed(local_channel(), 'Notes')) return EMPTY_STR; -- cgit v1.2.3