public function SystemStreamWrapper::unlink in System stream wrapper 7
Support for unlink().
Parameters
$uri: A string containing the URI to the resource to delete.
Return value
TRUE if resource was successfully deleted.
Overrides DrupalLocalStreamWrapper::unlink
See also
http://php.net/manual/streamwrapper.unlink.php
File
- ./
SystemStreamWrapper.inc, line 73
Class
- SystemStreamWrapper
- Drupal system stream wrapper abstract class.
Code
public function unlink($uri) {
// Although the remote file itself can't be deleted, return TRUE so that
// file_delete() can remove the file record from the database.
return TRUE;
}