mirror of
https://github.com/friendica/friendica
synced 2025-04-27 05:50:10 +00:00
Update function calls
update function calls to use profile class
This commit is contained in:
parent
4cfa46186a
commit
4fb2547df8
45 changed files with 360 additions and 294 deletions
|
@ -1,7 +1,10 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file mod/notes.php
|
||||
*/
|
||||
use Friendica\App;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Profile;
|
||||
|
||||
function notes_init(App $a) {
|
||||
|
||||
|
@ -15,7 +18,7 @@ function notes_init(App $a) {
|
|||
|
||||
nav_set_selected('home');
|
||||
|
||||
// profile_load($a,$which,$profile);
|
||||
//Profile::load($a, $which, $profile);
|
||||
|
||||
}
|
||||
|
||||
|
@ -44,7 +47,7 @@ function notes_content(App $a, $update = false) {
|
|||
$is_owner = true;
|
||||
|
||||
$o ="";
|
||||
$o .= profile_tabs($a,True);
|
||||
$o .= Profile::getTabs($a, true);
|
||||
|
||||
if(! $update) {
|
||||
$o .= '<h3>' . t('Personal Notes') . '</h3>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue