From 916e088462ec46044ce18b83eb5271968d1c132b Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 3 Jul 2016 18:20:15 -0700 Subject: make permissionlimits into a class --- install/perm_upgrade.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'install') diff --git a/install/perm_upgrade.php b/install/perm_upgrade.php index 2a853ea37..ff6cda2e2 100644 --- a/install/perm_upgrade.php +++ b/install/perm_upgrade.php @@ -20,14 +20,6 @@ function perm_limits_upgrade($channel) { } -function perm_limits_upgrade_create($channel_id,$perm,$perm_limit) { - $r = q("insert into perm_limits ( perm, channel_id, perm_limit ) - values ( '%s', %d, %d ) ", - dbesc($perm), - intval($channel_id), - intval($perm_limit) - ); -} function perm_abook_upgrade($abook) { -- cgit v1.2.3