diff options
author | Mario <mario@mariovavti.com> | 2022-05-04 18:46:45 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-05-04 18:46:45 +0000 |
commit | f0c09b374c6577f8c3785b2dfe6c3cbba2bf2041 (patch) | |
tree | 1717cc7f8da3aa22cd6220313cfcf0b3554bc70d /Zotlabs/Widget/Notes.php | |
parent | 38fda98b6da4d97cf8049adc7acc139b28ccd8a2 (diff) | |
download | volse-hubzilla-f0c09b374c6577f8c3785b2dfe6c3cbba2bf2041.tar.gz volse-hubzilla-f0c09b374c6577f8c3785b2dfe6c3cbba2bf2041.tar.bz2 volse-hubzilla-f0c09b374c6577f8c3785b2dfe6c3cbba2bf2041.zip |
move cards to addon
Diffstat (limited to 'Zotlabs/Widget/Notes.php')
-rw-r--r-- | Zotlabs/Widget/Notes.php | 4 |
1 files changed, 4 insertions, 0 deletions
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; |