@@ 1817-1826 (lines=10) @@ | ||
1814 | * @return int the number of rows deleted |
|
1815 | * @throws \EE_Error |
|
1816 | */ |
|
1817 | public function delete_permanently_by_ID($id, $allow_blocking = true) |
|
1818 | { |
|
1819 | return $this->delete_permanently( |
|
1820 | array( |
|
1821 | array($this->get_primary_key_field()->get_name() => $id), |
|
1822 | 'limit' => 1, |
|
1823 | ), |
|
1824 | $allow_blocking |
|
1825 | ); |
|
1826 | } |
|
1827 | ||
1828 | ||
1829 | ||
@@ 1839-1848 (lines=10) @@ | ||
1836 | * @return int the number of rows deleted |
|
1837 | * @throws \EE_Error |
|
1838 | */ |
|
1839 | public function delete_by_ID($id, $allow_blocking = true) |
|
1840 | { |
|
1841 | return $this->delete( |
|
1842 | array( |
|
1843 | array($this->get_primary_key_field()->get_name() => $id), |
|
1844 | 'limit' => 1, |
|
1845 | ), |
|
1846 | $allow_blocking |
|
1847 | ); |
|
1848 | } |
|
1849 | ||
1850 | ||
1851 |