| @@ 169-177 (lines=9) @@ | ||
| 166 | * |
|
| 167 | * @param string $path path of node for which to delete properties |
|
| 168 | */ |
|
| 169 | public function delete($path) { |
|
| 170 | $statement = $this->connection->prepare( |
|
| 171 | 'DELETE FROM `*PREFIX*properties` WHERE `userid` = ? AND `propertypath` = ?' |
|
| 172 | ); |
|
| 173 | $statement->execute(array($this->user, '/' . $path)); |
|
| 174 | $statement->closeCursor(); |
|
| 175 | ||
| 176 | unset($this->cache[$path]); |
|
| 177 | } |
|
| 178 | ||
| 179 | /** |
|
| 180 | * This method is called after a successful MOVE |
|
| @@ 156-164 (lines=9) @@ | ||
| 153 | * |
|
| 154 | * @param string $path path of node for which to delete properties |
|
| 155 | */ |
|
| 156 | public function delete($path) { |
|
| 157 | $statement = $this->connection->prepare( |
|
| 158 | 'DELETE FROM `*PREFIX*properties` WHERE `userid` = ? AND `propertypath` = ?' |
|
| 159 | ); |
|
| 160 | $statement->execute(array($this->user, $path)); |
|
| 161 | $statement->closeCursor(); |
|
| 162 | ||
| 163 | unset($this->cache[$path]); |
|
| 164 | } |
|
| 165 | ||
| 166 | /** |
|
| 167 | * This method is called after a successful MOVE |
|