XF 2.1 Maybe I am tired or blind

Ozzy47

Well-known member
Have a file created at OzzModz/SelfConversations/XF/Service/Conversation in that file I have just about nothing ATM
PHP:
<?php

namespace OzzModz\SelfConversations\XF\Service\Conversation;

class Creator extends XFCP_Creator
{
    // future code
}

Now in the ACP when I go and try to create a new class extention using the following:
Code:
Base class name: XF\Service\Conversation

Extension class name: OzzModz\SelfConversations\XF\Service\Conversation

Execution order: 10

Extention enabled: Yes

Add-on: myaddon

Upon trying to save I get this error,
Invalid class: OzzModz\SelfConversations\XF\Service\Conversation
Please enter a valid extension class.
 
To extend class XF\Repository\Conversation you have to use OzzModz\SelfConversations\XF\Repository\Conversation as extension class name.
 
Back
Top Bottom