remove obsolete method from ShareController