mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-16 22:08:44 +02:00
backup.php : some little PHPDoc
SVN:trunk[5660]
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// Copyright (C) 2014-2017 Combodo SARL
|
||||
// Copyright (C) 2014-2018 Combodo SARL
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
@@ -28,6 +28,9 @@ require_once(APPROOT.'application/startup.inc.php');
|
||||
|
||||
class MyDBBackup extends DBBackup
|
||||
{
|
||||
/** @var Page used to send log */
|
||||
protected $oPage;
|
||||
|
||||
protected function LogInfo($sMsg)
|
||||
{
|
||||
$this->oPage->p($sMsg);
|
||||
@@ -39,7 +42,6 @@ class MyDBBackup extends DBBackup
|
||||
ToolsLog::Error($sMsg);
|
||||
}
|
||||
|
||||
protected $oPage;
|
||||
public function __construct($oPage)
|
||||
{
|
||||
$this->oPage = $oPage;
|
||||
|
||||
Reference in New Issue
Block a user