Code Duplication    Length = 13-15 lines in 2 locations

phpsysinfo/includes/os/class.QNX.inc.php 1 location

@@ 224-236 (lines=13) @@
221
     *
222
     * @return Void
223
     */
224
    public function build()
225
    {
226
        $this->error->addError("WARN", "The QNX version of phpSysInfo is a work in progress, some things currently don't work");
227
        $this->_distro();
228
        $this->_hostname();
229
        $this->_kernel();
230
        $this->_uptime();
231
        $this->_users();
232
        $this->_cpuinfo();
233
        $this->_memory();
234
        $this->_filesystems();
235
        $this->_network();
236
    }
237
}
238

phpsysinfo/includes/os/class.SunOS.inc.php 1 location

@@ 319-333 (lines=15) @@
316
     *
317
     * @return Void
318
     */
319
    public function build()
320
    {
321
        $this->error->addError("WARN", "The SunOS version of phpSysInfo is a work in progress, some things currently don't work");
322
        $this->_distro();
323
        $this->_hostname();
324
        $this->_kernel();
325
        $this->_uptime();
326
        $this->_users();
327
        $this->_loadavg();
328
        $this->_cpuinfo();
329
        $this->_network();
330
        $this->_memory();
331
        $this->_filesystems();
332
        $this->_processes();
333
    }
334
}
335