You are here

public function DrupalRemoteStreamWrapper::unlink in Remote 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 StreamWrapperInterface::unlink

See also

http://php.net/manual/en/streamwrapper.unlink.php

File

./remote_stream_wrapper.inc, line 313

Class

DrupalRemoteStreamWrapper
Stream wrapper to support local files.

Code

public function unlink($uri) {

  // We return FALSE rather than TRUE so that managed file records can be
  // deleted.
  return TRUE;
}