Skip to content

Commit 47b42c4

Browse files
committed
deprecated idExists removal
1 parent f6c551c commit 47b42c4

File tree

2 files changed

+1
-30
lines changed

2 files changed

+1
-30
lines changed

debian/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
php-spojenet-abraflexi (3.5.1.287~trixie.292~noble) UNRELEASED; urgency=medium
1+
php-spojenet-abraflexi (3.5.2) UNRELEASED; urgency=medium
22

33
* new method RO::getSumsFromAbraFlexi()
44
* jenkins-Spoje.Net-php-spojenet-abraflexi-283

src/AbraFlexi/RO.php

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1813,35 +1813,6 @@ public static function urlizeId($id)
18131813
return Functions::urlizeId($id);
18141814
}
18151815

1816-
/**
1817-
* Test if given record ID exists in AbraFlexi.
1818-
*
1819-
* @deprecated since version 2.25 - use recordExists() instead
1820-
*
1821-
* @param mixed $identifer presence state
1822-
*
1823-
* @return bool
1824-
*/
1825-
public function idExists($identifer = null)
1826-
{
1827-
if (null === $identifer) {
1828-
$identifer = $this->getMyKey();
1829-
}
1830-
1831-
$ignorestate = $this->ignore404();
1832-
$this->ignore404(true);
1833-
$cands = $this->getFlexiData(
1834-
'',
1835-
[
1836-
'detail' => 'custom:'.$this->getKeyColumn(),
1837-
$this->getKeyColumn() => $identifer,
1838-
],
1839-
);
1840-
$this->ignore404($ignorestate);
1841-
1842-
return ($this->lastResponseCode === 200) && !empty($cands);
1843-
}
1844-
18451816
/**
18461817
* Test if given record exists in AbraFlexi.
18471818
*

0 commit comments

Comments
 (0)