diff options
author | Freya Murphy <freya@freyacat.org> | 2024-12-20 00:30:08 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-12-20 00:30:08 -0500 |
commit | 757ccac0103541a34d040ef4812b2e7afb9f1f02 (patch) | |
tree | fe8960c4fac73a11e09cc6a2ec7f2c3b8d812485 /src/web/_model/apps/profile.php | |
parent | profile stuff (diff) | |
download | xssbook2-757ccac0103541a34d040ef4812b2e7afb9f1f02.tar.gz xssbook2-757ccac0103541a34d040ef4812b2e7afb9f1f02.tar.bz2 xssbook2-757ccac0103541a34d040ef4812b2e7afb9f1f02.zip |
rename admin schema to xssbook
Diffstat (limited to '')
-rw-r--r-- | src/web/_model/apps/profile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/_model/apps/profile.php b/src/web/_model/apps/profile.php index 16765d9..acec9c0 100644 --- a/src/web/_model/apps/profile.php +++ b/src/web/_model/apps/profile.php @@ -36,7 +36,7 @@ class Profile_model extends Model { if ($this->main->session) { $sid = $this->main->user()['id']; $res = $this->db->select('f.value, f.id') - ->from('admin.follow f') + ->from('xssbook.follow f') ->where('f.follower_id') ->eq($sid) ->where('f.followee_id') @@ -45,7 +45,7 @@ class Profile_model extends Model { $following = $res ? $res['value'] : FALSE; $follow_id = $res ? $res['id'] : NULL; $res = $this->db->select('f.value') - ->from('admin.follow f') + ->from('xssbook.follow f') ->where('f.follower_id') ->eq($uid) ->where('f.followee_id') |