Commit 37934ff6 authored by Ghislain Loas's avatar Ghislain Loas

hotline #71669 fix pre-RT

parent 63ab4ca9
......@@ -69,9 +69,7 @@ class Class_DigitalResource_Config extends Class_Entity {
public function getDashboardUrl() {
return Class_Url::absolute(['controller' =>
$this->getDigitalResource()
->getModuleNameFor(static::getName())],
return Class_Url::absolute(['module' => $this->getModuleName()],
null,
true);
}
......
......@@ -20,13 +20,4 @@
*/
class Musicme_ModuleMenu extends Class_DigitalResource_ModuleMenu {
public function getAlbumUrl($album, $user) {
$sso_url = explode('?', $this->getDynamiqueUrl($user));
return str_replace('http://www.musicme.com',
$sso_url[0],
str_replace('"', '%22', $album->getExternalUri()))
. '?' . (isset($sso_url[1]) ? $sso_url[1] : '');
}
}
\ No newline at end of file
class Musicme_ModuleMenu extends Class_DigitalResource_ModuleMenu {}
\ No newline at end of file
......@@ -20,5 +20,4 @@
*/
class Musicme_Plugin_IndexController extends Class_DigitalResource_Controller {
}
\ No newline at end of file
class Musicme_Plugin_IndexController extends Class_DigitalResource_Controller {}
\ No newline at end of file
......@@ -20,10 +20,4 @@
*/
class Skilleos_ModuleMenu extends Class_DigitalResource_ModuleMenu {
public function getAlbumUrl($album, $user) {
return str_replace('?casid',
$album->getIdOrigine() . '?casid',
$this->getDynamiqueUrl($user));
}
}
class Skilleos_ModuleMenu extends Class_DigitalResource_ModuleMenu {}
......@@ -20,5 +20,4 @@
*/
class Skilleos_Plugin_IndexController extends Class_DigitalResource_Controller {
}
\ No newline at end of file
class Skilleos_Plugin_IndexController extends Class_DigitalResource_Controller {}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment