diff options
Diffstat (limited to 'classes/article.php')
-rwxr-xr-x | classes/article.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/classes/article.php b/classes/article.php index 1e90c843e..e64c17a32 100755 --- a/classes/article.php +++ b/classes/article.php @@ -419,21 +419,6 @@ class Article extends Handler_Protected { return $tags; } - static function _format_note_html($id, $note, $allow_edit = true) { - if ($allow_edit) { - $onclick = "onclick='Plugins.Note.edit($id)'"; - $note_class = 'editable'; - } else { - $onclick = ''; - $note_class = ''; - } - - return "<div class='article-note $note_class'> - <i class='material-icons'>note</i> - <div $onclick class='body'>$note</div> - </div>"; - } - function getmetadatabyid() { $id = clean($_REQUEST['id']); |