Bugfix for pictures that weren't stored / reworked database calls

This commit is contained in:
Michael
2017-09-15 19:41:30 +00:00
parent 40fa941518
commit 6d7ececc42
12 changed files with 64 additions and 223 deletions

View File

@@ -35,10 +35,7 @@ function delegate_content(App $a) {
dbesc(normalise_link(System::baseUrl() . '/profile/' . $r[0]['nickname']))
);
if (dbm::is_result($r)) {
q("insert into manage ( uid, mid ) values ( %d , %d ) ",
intval($a->argv[2]),
intval(local_user())
);
dba::insert('manage', array('uid' => $a->argv[2], 'mid' => local_user()));
}
}
goaway(System::baseUrl() . '/delegate');