summaryrefslogtreecommitdiffstats
path: root/library/Director/Db/Branch/MergeErrorRecreateOnMerge.php
blob: 0bb8c40aa0fff158077ed2a4fcb9557a5f09ac36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

namespace Icinga\Module\Director\Db\Branch;

class MergeErrorRecreateOnMerge extends MergeError
{
    public function prepareMessage()
    {
        return sprintf(
            $this->translate('Cannot recreate %s %s'),
            $this->getObjectTypeName(),
            $this->getNiceObjectName()
        );
    }
}