File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 3030
3131use Doctrine \DBAL \Exception \DriverException ;
3232use Doctrine \DBAL \Exception \InvalidFieldNameException ;
33- use OCA \Comments \AppInfo \Application ;
3433use OCP \AppFramework \Utility \ITimeFactory ;
3534use OCP \Comments \CommentsEvent ;
3635use OCP \Comments \IComment ;
@@ -1309,7 +1308,7 @@ private function sendEvent($eventType, IComment $comment) {
13091308 * @since 21.0.0
13101309 */
13111310 public function load (): void {
1312- $ this ->initialStateService ->provideInitialState (Application:: APP_ID , 'max-message-length ' , IComment::MAX_MESSAGE_LENGTH );
1313- Util::addScript (Application:: APP_ID , 'comments-app ' );
1311+ $ this ->initialStateService ->provideInitialState (' comments ' , 'max-message-length ' , IComment::MAX_MESSAGE_LENGTH );
1312+ Util::addScript (' comments ' , 'comments-app ' );
13141313 }
13151314}
You can’t perform that action at this time.
0 commit comments