mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API CHANGE Removed Controller::PastVisitor(), used PastMember() instead
This commit is contained in:
parent
a7b9f0237e
commit
cd6115b85b
@ -394,15 +394,6 @@ class Controller extends RequestHandler {
|
|||||||
return Member::currentUser();
|
return Member::currentUser();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns true if the visitor has been here before
|
|
||||||
* @return boolean
|
|
||||||
*/
|
|
||||||
function PastVisitor() {
|
|
||||||
user_error("Controller::PastVisitor() is deprecated", E_USER_NOTICE);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return true if the visitor has signed up for a login account before
|
* Return true if the visitor has signed up for a login account before
|
||||||
* @return boolean
|
* @return boolean
|
||||||
|
Loading…
Reference in New Issue
Block a user