Skip to content

Commit acdd7a7

Browse files
committed
- $inst can be replaced by $this.
1 parent 8b39922 commit acdd7a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/lib/installer_base.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ public function configure_getmail() {
10741074

10751075

10761076
public function configure_pureftpd() {
1077-
global $conf, $inst;
1077+
global $conf;
10781078

10791079
$config_dir = $conf['pureftpd']['config_dir'];
10801080

@@ -1109,7 +1109,7 @@ public function configure_pureftpd() {
11091109

11101110
if(is_file('/etc/inetd.conf')) {
11111111
replaceLine('/etc/inetd.conf','/usr/sbin/pure-ftpd-wrapper','#ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/pure-ftpd-wrapper',0,0);
1112-
exec($inst->getinitcommand('openbsd-inetd', 'restart'));
1112+
exec($this->getinitcommand('openbsd-inetd', 'restart'));
11131113
//if(is_file($conf['init_scripts'].'/'.'openbsd-inetd')) exec($conf['init_scripts'].'/'.'openbsd-inetd restart');
11141114
}
11151115

0 commit comments

Comments
 (0)